X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vim%2Fvimrc;h=8646ceee4775c3b55f1a4bc5659828a15cd9dc38;hb=1143daa16d9d70cfab2cbb92bcb4efe8d4912e69;hp=bb7ac1e3f59b81979ab9d9905e5a3530062496e1;hpb=3bf45b718764886c0145179534536f91c5e6df5b;p=config%2Fdotfiles.git diff --git a/vim/vimrc b/vim/vimrc index bb7ac1e..8646cee 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -1072,21 +1072,21 @@ 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 " Recognize .test as Tcl files. autocmd BufRead,BufNewFile *.test set filetype=tcl +" /etc/network/interfaces + autocmd BufRead,BufNewFile /etc/network/interfaces set filetype=interfaces " OTHER AUTO COMMANDS " Disable spell checking, displaying of list characters and long lines when " viewing documentation. autocmd BufReadPost /usr/share/doc/* setlocal nospell nolist | 2match - -" Use diff filetype for mercurial patches in patch queue. - autocmd BufReadPost */.hg/patches/* set filetype=diff - augroup END endif