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

function! neomake#makers#ft#cuda#nvcc() abort
    return {
        \ 'exe': 'nvcc',
        \ 'errorformat':
            \ '%f\(%l\): %trror: %m,'.
            \ '%f\(%l\): %tarning: %m,'.
            \ '%f\(%l\): %m',
        \ }
endfunction