diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-17 18:14:19 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-17 18:14:19 +0200 |
commit | ad3b366c8250a6f3c7ac699bc4b0f2e613286089 (patch) | |
tree | 23a07a413110c9587852eb5ec0e29119d3debc62 /runtime/compiler | |
parent | d620aa9be4d574627c020dedd39313f8482ab216 (diff) | |
download | vim-git-ad3b366c8250a6f3c7ac699bc4b0f2e613286089.tar.gz |
Update runtime files.
Diffstat (limited to 'runtime/compiler')
-rw-r--r-- | runtime/compiler/msbuild.vim | 21 | ||||
-rw-r--r-- | runtime/compiler/xbuild.vim | 22 |
2 files changed, 43 insertions, 0 deletions
diff --git a/runtime/compiler/msbuild.vim b/runtime/compiler/msbuild.vim new file mode 100644 index 000000000..3652ca0e0 --- /dev/null +++ b/runtime/compiler/msbuild.vim @@ -0,0 +1,21 @@ +" Vim compiler file +" Compiler: Microsoft Visual Studio C# +" Maintainer: Chiel ten Brinke (ctje92@gmail.com) +" Last Change: 2013 May 13 + +if exists("current_compiler") + finish +endif +let current_compiler = "msbuild" +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=msbuild\ /nologo\ /v:q\ /property:GenerateFullPaths=true + +let &cpo = s:keepcpo +unlet s:keepcpo diff --git a/runtime/compiler/xbuild.vim b/runtime/compiler/xbuild.vim new file mode 100644 index 000000000..b508a4616 --- /dev/null +++ b/runtime/compiler/xbuild.vim @@ -0,0 +1,22 @@ +" 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 |