From 4102d46fda8181bb4cea704a4651f49bbc3491da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sun, 2 Jan 2022 01:37:16 +0100 Subject: [PATCH] By default tab in go lang files --- .config/nvim/init.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index a8a6955..059fc1c 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -353,6 +353,7 @@ autocmd BufRead,BufNewFile *.yaml let g:indentLine_enabled = 1 autocmd BufRead,BufNewFile *.yaml let g:indentLine_char = '⦙' " Go +autocmd BufRead *.go set noexpandtab autocmd BufWritePre *.go :silent call CocAction('runCommand', 'editor.action.organizeImport') " Conf