aboutsummaryrefslogtreecommitdiff
path: root/vim/compiler/zsh.vim
blob: bb8802c9bc6637526a22971d501a5f011a3e37a3 (plain) (blame)
1
2
3
4
5
6
7
8
" :compiler support for Z Shell syntax checking with `zsh -n`
if exists('current_compiler') || &compatible || v:version < 800
  finish
endif
let current_compiler = 'zsh'

CompilerSet makeprg=zsh\ -n\ --\ %:S
CompilerSet errorformat=%f:%l:\ %m