From: Konfekt Date: Fri, 27 Dec 2024 15:22:44 +0000 (+0100) Subject: runtime(compiler): include a basic bash syntax checker compiler X-Git-Tag: v9.1.0966~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c57c30ad43f5e0d040f7d432ceb5d61fc6ab651;p=thirdparty%2Fvim.git runtime(compiler): include a basic bash syntax checker compiler See @saccarosium 's suggestion at https://github.com/vim/vim/pull/16311#issuecomment-2563447885 closes: #16314 Signed-off-by: Konfekt Signed-off-by: Christian Brabandt --- diff --git a/runtime/compiler/bash.vim b/runtime/compiler/bash.vim new file mode 100644 index 0000000000..cbd76ae410 --- /dev/null +++ b/runtime/compiler/bash.vim @@ -0,0 +1,12 @@ +" Vim compiler file +" Compiler: Bash Syntax Checker +" Maintainer: @konfekt +" Last Change: 2024 Dec 27 + +if exists("current_compiler") + finish +endif +let current_compiler = "bash" + +CompilerSet makeprg=bash\ -n +CompilerSet errorformat=%f:\ line\ %l:\ %m