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

function! neomake#makers#ft#cs#EnabledMakers() abort
    return ['mcs']
endfunction

function! neomake#makers#ft#cs#mcs() abort
    return {
        \ 'args': ['--parse', '--unsafe'],
        \ 'errorformat': '%f(%l\,%c): %trror %m',
        \ }
endfunction

function! neomake#makers#ft#cs#msbuild() abort
    return {
        \ 'exe': 'msbuild',
        \ 'args': ['-nologo', '-v:q', '-property:GenerateFullPaths=true', neomake#utils#FindGlobFile('*.sln')],
        \ 'errorformat': '%E%f(%l\,%c): error CS%n: %m [%.%#],'.
        \                '%W%f(%l\,%c): warning CS%n: %m [%.%#]',
        \ 'append_file' : 0,
        \ }
endfunction