From 65ed2febb5228ce000ee2067bdc35afae15ef88a Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 13 Oct 2024 19:45:25 +0300 Subject: feat: some go changes --- .config/nvim/after/ftplugin/go.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.config/nvim/after') 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 -- cgit v1.3.1