diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-12-27 16:26:03 +0100 |
---|---|---|
committer | Christian Clason <ch.clason+github@icloud.com> | 2024-12-28 00:35:32 +0100 |
commit | 48c09ed4d9edd92a7c665a62aed04e8597088e60 (patch) | |
tree | 535cb50938364c837eeb7003a236e4d4fd583b1b | |
parent | 35247b00a44e838ed7d657a9b94964dc0664d28d (diff) | |
download | rneovim-48c09ed4d9edd92a7c665a62aed04e8597088e60.tar.gz rneovim-48c09ed4d9edd92a7c665a62aed04e8597088e60.tar.bz2 rneovim-48c09ed4d9edd92a7c665a62aed04e8597088e60.zip |
vim-patch:6c57c30: runtime(compiler): include a basic bash syntax checker compiler
See @saccarosium 's suggestion at
https://github.com/vim/vim/pull/16311#issuecomment-2563447885
closes: vim/vim#16314
https://github.com/vim/vim/commit/6c57c30ad43f5e0d040f7d432ceb5d61fc6ab651
Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
-rw-r--r-- | runtime/compiler/bash.vim | 12 |
1 files changed, 12 insertions, 0 deletions
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 |