aboutsummaryrefslogtreecommitdiff
path: root/.vim/autoload/neomake/makers/ft/nix.vim
blob: f23978964162a0be1596bb028997b28e292850e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
" vim: ts=4 sw=4 et
"
function! neomake#makers#ft#nix#EnabledMakers() abort
    return ['nix_instantiate']
endfunction

function! neomake#makers#ft#nix#nix_instantiate() abort
    return {
        \ 'exe': 'nix-instantiate',
        \ 'args': ['--parse-only'],
        \ 'errorformat': 'error: %m at %f:%l:%c'
        \ }
endfunction