aboutsummaryrefslogtreecommitdiff
path: root/runtime/compiler/bean_check.vim
blob: 45f6b0b4d2861ffce0d178ddb9eabdc1981511cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
" 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