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

function! neomake#makers#ft#sml#EnabledMakers() abort
    return ['smlnj']
endfunction

" This comes straight out of syntastic.
function! neomake#makers#ft#sml#smlnj() abort
    return {
        \ 'exe': 'sml',
        \ 'errorformat':
            \ '%E%f:%l%\%.%c %trror: %m,' .
            \ '%E%f:%l%\%.%c-%\d%\+%\%.%\d%\+ %trror: %m,' .
            \ '%W%f:%l%\%.%c %tarning: %m,' .
            \ '%W%f:%l%\%.%c-%\d%\+%\%.%\d%\+ %tarning: %m,' .
            \ '%C%\s%\+%m,' .
            \ '%-G%.%#'
        \ }
endfunction