aboutsummaryrefslogtreecommitdiff
path: root/.vim/autoload/neomake/makers/ft/nim.vim
blob: 68b72a365237ebc7fe02703de4c8815a6bd8f472 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function! neomake#makers#ft#nim#EnabledMakers() abort
    return ['nim']
endfunction

function! neomake#makers#ft#nim#nim() abort
    return {
                \ 'exe': 'nim',
                \ 'args': ['--listFullPaths', '--verbosity:0', '--colors:off',
                \   '-c', 'check'],
                \ 'errorformat':
                \   '%I%f(%l\, %c) Hint: %m,' .
                \   '%W%f(%l\, %c) Warning: %m,' .
                \   '%E%f(%l\, %c) Error: %m'
                \ }
endfunction
" vim: ts=4 sw=4 et