summaryrefslogtreecommitdiff
path: root/lua/settings.lua
diff options
context:
space:
mode:
authorChris <[email protected]>2021-07-09 13:26:34 -0400
committerChris <[email protected]>2021-07-09 13:26:34 -0400
commit863a92b31e21a174ccf98eb50da01e2b5e6b55ec (patch)
tree1f5db462a8e299fb26167fae7957eb91a1bbcfa1 /lua/settings.lua
parent4b67cce36d584df6e8f48ce47e1bf82be5545fdc (diff)
update settings
Diffstat (limited to 'lua/settings.lua')
-rw-r--r--lua/settings.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/settings.lua b/lua/settings.lua
index 6d265f6c..88d1c942 100644
--- a/lua/settings.lua
+++ b/lua/settings.lua
@@ -47,9 +47,9 @@ opt.undofile = true -- enable persisten undo
opt.updatetime = 300 -- faster completion
opt.writebackup = false -- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be edited
opt.expandtab = true -- convert tabs to spaces
-opt.shiftwidth = 4 -- the number of spaces inserted for each indentation
+opt.shiftwidth = 2 -- the number of spaces inserted for each indentation
opt.shortmess:append "c"
-opt.tabstop = 4 -- insert 4 spaces for a tab
+opt.tabstop = 2 -- insert 4 spaces for a tab
opt.cursorline = O.cursorline -- highlight the current line
opt.number = O.number -- set numbered lines
opt.relativenumber = O.relative_number -- set relative numbered lines