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

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