By default tab in go lang files

This commit is contained in:
Marcin Woźniak 2022-01-02 01:37:16 +01:00
parent 8c35bab05f
commit 4102d46fda
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -353,6 +353,7 @@ autocmd BufRead,BufNewFile *.yaml let g:indentLine_enabled = 1
autocmd BufRead,BufNewFile *.yaml let g:indentLine_char = '⦙' autocmd BufRead,BufNewFile *.yaml let g:indentLine_char = '⦙'
" Go " Go
autocmd BufRead *.go set noexpandtab
autocmd BufWritePre *.go :silent call CocAction('runCommand', 'editor.action.organizeImport') autocmd BufWritePre *.go :silent call CocAction('runCommand', 'editor.action.organizeImport')
" Conf " Conf