Permalink
Browse files

Use zsh filetype for files under ~/.zlocal

  • Loading branch information...
jwhitley committed Nov 13, 2013
1 parent 46871d9 commit d5b8f3bdf8b014f2c063fa5e2e2bf520755cde9f
Showing with 1 addition and 0 deletions.
  1. +1 −0 .vimrc
View
1 .vimrc
@@ -487,6 +487,7 @@
" Override unknown filetypes in certain zsh directories
autocmd BufNewFile,BufRead */.zfunctions/* if &ft == '' || &ft =~# '^\(conf\)$' | set filetype=zsh | endif
+ autocmd BufNewFile,BufRead */.zlocal/* if &ft == '' || &ft =~# '^\(conf\)$' | set filetype=zsh | endif
" Close vim if the only window left open is a NERDTree
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif

0 comments on commit d5b8f3b

Please sign in to comment.