Skip to content

Commit

Permalink
vim-patch:6c57c30: runtime(compiler): include a basic bash syntax che…
Browse files Browse the repository at this point in the history
…cker compiler

See @saccarosium 's suggestion at
vim/vim#16311 (comment)

closes: vim/vim#16314

vim/vim@6c57c30

Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
  • Loading branch information
clason and Konfekt committed Dec 27, 2024
1 parent 35247b0 commit 48c09ed
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions runtime/compiler/bash.vim
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 48c09ed

Please sign in to comment.