aboutsummaryrefslogtreecommitdiff
path: root/.vim/autoload/neomake/makers/ft/yacc.vim
blob: 8a2edd526f767d4a1cd08830ab2b3587a0f7bf88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
" vim: ts=4 sw=4 et

function! neomake#makers#ft#yacc#EnabledMakers() abort
    return ['bison']
endfunction

function! neomake#makers#ft#yacc#bison() abort
    return {
            \ 'errorformat':
                \ '%E%f:%l%.%v-%.%\{-}: %trror: %m,' .
                \ '%E%f:%l%.%v: %trror: %m,' .
                \ '%W%f:%l%.%v-%.%\{-}: %tarning: %m,' .
                \ '%W%f:%l%.%v: %tarning: %m,' .
                \ '%I%f:%l%.%v-%.%\{-}: %\s%\+%m,' .
                \ '%I%f:%l%.%v: %\s%\+%m'
        \ }
endfunction