summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-20 23:56:38 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-01-20 23:56:38 +0100
commit2228cb01baa017df59a5c2d6b5af305b2c808e49 (patch)
treed64ff21d2a471fe44923351b6ee173a3efeb900a
parentd0fc0af4dbe0668d9bb802213f363d43f3e9277d (diff)
Set tab to 2 spaces
-rw-r--r--lua/settings/options.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/settings/options.lua b/lua/settings/options.lua
index 5535c12..0db6b43 100644
--- a/lua/settings/options.lua
+++ b/lua/settings/options.lua
@@ -24,8 +24,8 @@ local options = {
updatetime = 300, -- faster completion (4000ms default)
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
expandtab = true, -- convert tabs to spaces
- shiftwidth = 4, -- the number of spaces inserted for each indentation
- tabstop = 4, -- insert 2 spaces for a tab
+ shiftwidth = 2, -- the number of spaces inserted for each indentation
+ tabstop = 2, -- insert 2 spaces for a tab
cursorline = true, -- highlight the current line
number = true, -- set numbered lines
relativenumber = true, -- set relative numbered lines