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

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