Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use zsh filetype for files under ~/.zlocal

  • Loading branch information...
commit d5b8f3bdf8b014f2c063fa5e2e2bf520755cde9f 1 parent 46871d9
@jwhitley authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.