nvim.init.lua #1

  • //
  • test-install_sdp/
  • dev/
  • nvim.init.lua
  • View
  • Commits
  • Open Download .zip Download (669 B)
-- Do not expand tabs to spaces
vim.opt.expandtab = false

-- Set the width of a tab character (how many spaces it visually occupies)
-- You can adjust this to your preference (e.g., 4 or 8)
vim.opt.tabstop = 3

-- Set the amount of indent for < and > commands, and for autoindent
vim.opt.shiftwidth = 3

-- When using <BS> (backspace) or <Tab>, they will behave as if they were
-- deleting/inserting tab characters, even if they're composed of spaces.
-- Set to 0 if you want exact character deletion/insertion.
vim.opt.softtabstop = 0

-- Set filetype for *.lib files to bash for syntax highlighting.
vim.cmd([[
  autocmd BufNewFile,BufRead *.lib set filetype=sh
]])
# Change User Description Committed
#1 33144 C. Thomas Tyler Initialized //test-install_sdp/dev with p4 populate -b test-install_sdp_Classic_to_Streams
//guest/tom_tyler/sw/main/install_sdp/dev/bin/nvim.init.lua
#2 31910 C. Thomas Tyler Adjusted tab and shift width from 4->3.
#1 31907 C. Thomas Tyler Added neovim config bits.