aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/share/nvim/site/autoload/neomake/makers/cabal.vim
blob: 070b2a58b2854abe6da417e3fcd8f0788feffe44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
" vim: ts=4 sw=4 et

function! neomake#makers#cabal#cabal() abort
    let errorformat = join([
                \ '%A%f:%l:%c:',
                \ '%A%f:%l:%c: %m',
                \ '%+C    %m',
                \ '%-Z%[%^ ]',
                \ ], ',')
    return {
        \ 'exe': 'cabal',
        \ 'args': ['build'],
        \ 'errorformat': errorformat
        \ }
endfunction