aboutsummaryrefslogtreecommitdiff
path: root/runtime/compiler/bash.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/compiler/bash.vim')
-rw-r--r--runtime/compiler/bash.vim12
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