]> code.delx.au - dotfiles/commitdiff
vim: Fix word boundary in bash files using Vim 7.3+
authorJames Bunton <jamesbunton@delx.net.au>
Mon, 3 Sep 2012 00:18:40 +0000 (10:18 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Mon, 3 Sep 2012 03:26:23 +0000 (13:26 +1000)
.vim/filetypes.vim

index 7cd7f8179d9d5e282f0e03d4764b25ffeba3c3e6..54c9ec92930840ca15eb3c2e50a89cedf50ea78d 100644 (file)
@@ -19,6 +19,9 @@ autocmd FileType tex call WrapOn()
 autocmd FileType objc setlocal nocindent smartindent
 autocmd FileType cmake setlocal nowrap
 
+" Don't allow syntax/sh.vim to change my iskeyword setting
+let g:sh_noisk=1
+
 " Who uses octal anyway?
 set nrformats-=octal