summaryrefslogtreecommitdiff
path: root/.config/nvim/after
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/after')
-rw-r--r--.config/nvim/after/ftplugin/go.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/.config/nvim/after/ftplugin/go.lua b/.config/nvim/after/ftplugin/go.lua
index 3436b9c..cf26a95 100644
--- a/.config/nvim/after/ftplugin/go.lua
+++ b/.config/nvim/after/ftplugin/go.lua
@@ -1 +1,5 @@
-vim.opt_local.expandtab = false
+-- Tab
+vim.opt_local.expandtab = false -- convert tabs to spaces
+vim.opt_local.tabstop = 4 -- number of visual spaces per TAB
+vim.opt_local.softtabstop = 4 -- number of idfk tab when editing
+vim.opt_local.shiftwidth = 4 -- number of spaces to insert on tab