msbuild.vim 529 B

12345678910111213141516171819202122
  1. " Vim compiler file
  2. " Compiler: Microsoft Visual Studio C#
  3. " Maintainer: Chiel ten Brinke (ctje92@gmail.com)
  4. " Last Change: 2013 May 13
  5. if exists("current_compiler")
  6. finish
  7. endif
  8. let current_compiler = "msbuild"
  9. let s:keepcpo= &cpo
  10. set cpo&vim
  11. if exists(":CompilerSet") != 2 " older Vim always used :setlocal
  12. command -nargs=* CompilerSet setlocal <args>
  13. endif
  14. CompilerSet errorformat=\ %#%f(%l\\\,%c):\ %m
  15. CompilerSet makeprg=msbuild\ /nologo\ /v:q\ /property:GenerateFullPaths=true
  16. let &cpo = s:keepcpo
  17. unlet s:keepcpo