From: Stefan Huber Date: Mon, 25 Mar 2019 11:46:41 +0000 (+0100) Subject: init: Add go settings X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=65b54e4bbdc1527c39189abe439fb9b09ad690ad;p=vimconf.git init: Add go settings --- diff --git a/init.vim b/init.vim index 7ca0940..3255e33 100644 --- a/init.vim +++ b/init.vim @@ -110,6 +110,7 @@ au BufRead,BufNewFile *.cls set filetype=tex au FileType text,markdown,mail,tex,gitcommit,mediawiki,vimwiki setlocal spell au FileType text,markdown,mail,gitcommit,mediawiki,vimwiki set fo+=n +au Filetype go set shiftwidth=8 tabstop=8 noexpandtab au Filetype tex set shiftwidth=2 tabstop=2 au FileType mediawiki setlocal wrap linebreak tw=0