aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/zsh.vim
blob: 8a27846b3ad2c0c1dbe3b1282ade43d9bd03b629 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
" 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
      \ . '|unlet b:current_compiler'
      \ . '|setlocal errorformat<'
      \ . '|setlocal makeprg<'