Groups
Groups
Sign in
Groups
Groups
vim_dev
Conversations
About
Send feedback
Help
Commit: runtime(compiler): include a basic bash syntax checker compiler
2 views
Skip to first unread message
Christian Brabandt
unread,
Dec 27, 2024, 10:30:12 AM
12/27/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vim...@googlegroups.com
runtime(compiler): include a basic bash syntax checker compiler
Commit:
https://github.com/vim/vim/commit/6c57c30ad43f5e0d040f7d432ceb5d61fc6ab651
Author: Konfekt <
Kon...@users.noreply.github.com
>
Date: Fri Dec 27 16:22:44 2024 +0100
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 <
Kon...@users.noreply.github.com
>
Signed-off-by: Christian Brabandt <
c...@256bit.org
>
diff --git a/runtime/compiler/bash.vim b/runtime/compiler/bash.vim
new file mode 100644
index 000000000..cbd76ae41
--- /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
Reply all
Reply to author
Forward
0 new messages