From f5f75a7f69cc3da5d1a717bc61c0d673b894896b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sun, 2 Jan 2022 01:27:34 +0100 Subject: [PATCH] Added the Go --- .config/nvim/init.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 50903ac..9eb1c65 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -351,6 +351,9 @@ autocmd BufRead,BufNewFile /tmp/neomutt* map ZQ :Goyo\|q! autocmd BufRead,BufNewFile *.yaml let g:indentLine_enabled = 1 autocmd BufRead,BufNewFile *.yaml let g:indentLine_char = '⦙' +" Go +autocmd BufWritePre *.go :silent call CocAction('runCommand', 'editor.action.organizeImport') + " Conf au BufNewFile,BufRead *.conf setfiletype conf