diff --git a/lua/settings.lua b/lua/settings.lua index 3ddd47d..5945604 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -17,9 +17,12 @@ vim.opt.scrolloff = 8 -- keep space above/below cursor vim.opt.sidescrolloff = 8 -- keep space left/right of cursor -- Indentation -vim.opt.expandtab = true -- use spaces instead of tabs -vim.opt.tabstop = 2 -- how many spaces a tab looks like -vim.opt.shiftwidth = 2 -- how many spaces when indenting +vim.opt.expandtab = true -- use spaces instead of tabs +vim.opt.tabstop = 2 -- how many spaces a tab looks like +vim.opt.shiftwidth = 2 -- how many spaces when indenting +vim.opt.softtabstop = 2 -- how many spaces a tab looks like during insert +vim.opt.smartindent = true -- auto indent in some cases +vim.opt.smarttab = true -- insert spaces at the start of a line -- Search vim.opt.ignorecase = true -- case-insensitive search