27 lines
596 B
VimL
27 lines
596 B
VimL
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1
|
|
|
|
" Vim compiler file
|
|
" Compiler: Mono C#
|
|
" Maintainer: Chiel ten Brinke (ctje92@gmail.com)
|
|
" Last Change: 2013 May 13
|
|
|
|
if exists("current_compiler")
|
|
finish
|
|
endif
|
|
|
|
let current_compiler = "xbuild"
|
|
let s:keepcpo= &cpo
|
|
set cpo&vim
|
|
|
|
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
|
command -nargs=* CompilerSet setlocal <args>
|
|
endif
|
|
|
|
CompilerSet errorformat=\ %#%f(%l\\\,%c):\ %m
|
|
CompilerSet makeprg=xbuild\ /nologo\ /v:q\ /property:GenerateFullPaths=true
|
|
|
|
let &cpo = s:keepcpo
|
|
unlet s:keepcpo
|
|
|
|
endif
|