aboutsummaryrefslogblamecommitdiffstats
path: root/compiler/beancount.vim
blob: 5bcaa15b451fce31d6a461c746292160d4fd2747 (plain) (tree)


















                                                                         
if exists("current_compiler")
    finish
endif
let current_compiler = "beancount"

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

let s:cpo_save = &cpo
set cpo-=C

CompilerSet makeprg=bean-check\ %
CompilerSet errorformat=%-G         " Skip blank lines
CompilerSet errorformat+=%f:%l:\ %m  " File:line: message
CompilerSet errorformat+=%-G\ %.%#   " Skip indented lines.

let &cpo = s:cpo_save
unlet s:cpo_save