Modified init.lua
This commit is contained in:
parent
8d1ef972bc
commit
e5925c7f3f
5
init.lua
5
init.lua
|
|
@ -121,6 +121,11 @@ end)
|
||||||
-- Enable break indent
|
-- Enable break indent
|
||||||
vim.opt.breakindent = true
|
vim.opt.breakindent = true
|
||||||
|
|
||||||
|
-- Set tab width and indentation for Neovim
|
||||||
|
vim.opt.shiftwidth = 4 -- Indent with 4 spaces
|
||||||
|
vim.opt.tabstop = 4 -- Tab key inserts 4 spaces
|
||||||
|
vim.opt.expandtab = true -- Converts tabs to spaces
|
||||||
|
|
||||||
-- Save undo history
|
-- Save undo history
|
||||||
vim.opt.undofile = true
|
vim.opt.undofile = true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue