init: Fix formatting of man pages
[vimconf.git] / init.vim
index 05a7966e846bbeb8ac5319cc5b9c8cc323bf8580..d4a51e098d649737b046a296ab7d6dc9239b0d2f 100644 (file)
--- a/init.vim
+++ b/init.vim
@@ -110,7 +110,8 @@ 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 tex set shiftwidth=2
+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
 
@@ -118,6 +119,9 @@ au FileType mediawiki setlocal wrap linebreak tw=0
 au Filetype mail syn match Statement /^\s*-*\s*>8\s*-*\s*$/
 au Filetype mail syn match Statement /^\s*-*\s*8<\s*-*\s*$/
 
+" Line wrap crippled with numbers shown
+au Filetype man set nonumber
+
 
 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 " Some plugin-specific settings