mirror of
https://github.com/vim/vim
synced 2025-07-15 16:51:57 +00:00
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 <Konfekt@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
b9b762c21f
commit
6c57c30ad4
12
runtime/compiler/bash.vim
Normal file
12
runtime/compiler/bash.vim
Normal file
@ -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
|
Reference in New Issue
Block a user