From 15325228ea7020dbcc758e64a074e9603b37ad52 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 14 Jul 2018 12:34:20 +0200 Subject: [PATCH] vim: vimrc: use tabs in go --- vim/vimrc | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.43.2