aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/zsh.vim
blob: d5852e53170d7e7d0be66c9740f7edb3a29b45ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
" Extra configuration for Z shell scripts
if &filetype != 'zsh' || &compatible || v:version < 700
  finish
endif

" Use Z shell itself as a syntax checker
compiler zsh
let b:undo_ftplugin = b:undo_ftplugin
      \ . '|setlocal errorformat<'
      \ . '|setlocal makeprg<'