Add settings for Go source files

This commit is contained in:
Peter J. Holzer 2019-08-03 18:01:43 +02:00
parent e5013a5b8b
commit b984c5646f
1 changed files with 4 additions and 0 deletions

4
.vimrc
View File

@ -39,3 +39,7 @@ map!  >I<yypa/O
autocmd FileType perl let perl_fold=1 autocmd FileType perl let perl_fold=1
autocmd FileType perl let perl_fold_blocks=1 autocmd FileType perl let perl_fold_blocks=1
autocmd FileType perl syntax on autocmd FileType perl syntax on
autocmd FileType go set sw=8
autocmd FileType go set tw=79
autocmd FileType go set noexpandtab