From: Nick Bowler Date: Fri, 10 Sep 2010 19:29:03 +0000 (-0400) Subject: Add filetype rules for zsh config files. X-Git-Url: https://git.draconx.ca/gitweb/vimconf.git/commitdiff_plain/f03005d98d9a048a38e466eda4f72b6148d20ab9 Add filetype rules for zsh config files. For some reason, some (but not all) of my config files don't get their filetype set correctly. Fix that up. --- diff --git a/vimrc b/vimrc index 025928c..ed55677 100644 --- a/vimrc +++ b/vimrc @@ -9,6 +9,7 @@ set mouse=a set nowrap listchars=eol:$,precedes:<,extends:@ +au BufNewFile,BufRead {.,}z{profile,logout,login,shrc,shenv} set filetype=zsh au BufNewFile,BufRead *.scheme set filetype=scheme au BufNewFile,BufRead *.sig set filetype=sml au BufNewFile,BufRead *.cabal set filetype=cabal