From: Simon Ruderich Date: Sat, 14 Jul 2018 10:34:20 +0000 (+0200) Subject: vim: vimrc: use tabs in go X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=commitdiff_plain;h=15325228ea7020dbcc758e64a074e9603b37ad52 vim: vimrc: use tabs in go --- diff --git a/vim/vimrc b/vim/vimrc index d73cb0e..eb2ddb3 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -1072,6 +1072,8 @@ if has('autocmd') autocmd FileType vimperator setlocal commentstring=\"%s " Use TeX compiler for (La)TeX files. autocmd FileType tex compiler tex +" Go always uses tabs for indentation. + autocmd FileType go call UseTabs() " FTDETECT AUTO COMMANDS