aboutsummaryrefslogtreecommitdiff
path: root/vim/compiler/sh.vim
blob: 1f531af24d0dc0b1dd6102e9ceb87bc17250e5c0 (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 || !has('patch-7.4.191')
  finish
endif
let current_compiler = 'sh'

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