mirror of
https://github.com/neovim/neovim.git
synced 2026-06-15 16:23:48 +00:00
Include with adjustments from the upstream repo:
https://github.com/nathangrigg/vim-beancount
closes: vim/vim#20373
1fee3cd4b9
Co-authored-by: Bruno BELANYI <bruno@belanyi.fr>
23 lines
474 B
VimL
23 lines
474 B
VimL
" Vim compiler file
|
|
" Compiler: bean-check
|
|
" Maintainer: Nathan Grigg
|
|
" Latest Revision: 2017-03-20
|
|
|
|
if exists('g:current_compiler')
|
|
finish
|
|
endif
|
|
let g:current_compiler = 'bean_check'
|
|
|
|
let s:cpo_save = &cpoptions
|
|
set cpoptions-=C
|
|
|
|
CompilerSet makeprg=bean-check\ %
|
|
" File:line: message
|
|
" Skip blank lines and indented lines.
|
|
CompilerSet errorformat=%-G
|
|
CompilerSet errorformat+=%f:%l:\ %m
|
|
CompilerSet errorformat+=%-G\ %.%#
|
|
|
|
let &cpoptions = s:cpo_save
|
|
unlet s:cpo_save
|