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

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