diff options
Diffstat (limited to 'dotfiles/.vim/autoload/neomake/makers/ft/cs.vim')
| -rw-r--r-- | dotfiles/.vim/autoload/neomake/makers/ft/cs.vim | 22 | 
1 files changed, 22 insertions, 0 deletions
| diff --git a/dotfiles/.vim/autoload/neomake/makers/ft/cs.vim b/dotfiles/.vim/autoload/neomake/makers/ft/cs.vim new file mode 100644 index 0000000..6457cff --- /dev/null +++ b/dotfiles/.vim/autoload/neomake/makers/ft/cs.vim @@ -0,0 +1,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 | 
