Modified init.lua

This commit is contained in:
Aland Azad 2024-11-30 15:47:31 +03:00
parent 8d1ef972bc
commit e5925c7f3f
1 changed files with 5 additions and 0 deletions

View File

@ -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