]> code.delx.au - dotfiles/commitdiff
vim: disable auto comment repeat on newline for .vim files
authorJames Bunton <jamesbunton@delx.net.au>
Mon, 3 Sep 2012 07:08:14 +0000 (17:08 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Mon, 3 Sep 2012 07:08:14 +0000 (17:08 +1000)
.vim/filetypes.vim

index 54c9ec92930840ca15eb3c2e50a89cedf50ea78d..bb92d880c7f43bc84c84449ecc3b5e2a52f131d2 100644 (file)
@@ -18,6 +18,7 @@ autocmd FileType mail setlocal textwidth=72
 autocmd FileType tex call WrapOn()
 autocmd FileType objc setlocal nocindent smartindent
 autocmd FileType cmake setlocal nowrap
+autocmd FileType vim setlocal formatoptions-=r
 
 " Don't allow syntax/sh.vim to change my iskeyword setting
 let g:sh_noisk=1