aboutsummaryrefslogtreecommitdiff
path: root/.vim/autoload/neomake/makers/ft/matlab.vim
blob: f208be64fd2c2777aa22a60895716d0f6d7297c6 (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#ft#matlab#EnabledMakers() abort
    return ['mlint']
endfunction

function! neomake#makers#ft#matlab#mlint() abort
    return {
        \ 'args': ['-id'],
        \ 'mapexpr': "neomake_bufname.':'.v:val",
        \ 'errorformat':
        \   '%f:L %l (C %c): %m,'.
        \   '%f:L %l (C %c-%*[0-9]): %m,',
        \ }
endfunction