home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / runtime / compiler / cs.vim < prev    next >
Encoding:
Text File  |  2012-05-31  |  626 b   |  27 lines

  1. " Vim compiler file
  2. " Compiler:    Microsoft Visual Studio C#
  3. " Maintainer:    Zhou YiChao (broken.zhou@gmail.com)
  4. " Previous Maintainer:    Joseph H. Yao (hyao@sina.com)
  5. " Last Change:    2012 Apr 30
  6.  
  7. if exists("current_compiler")
  8.   finish
  9. endif
  10. let current_compiler = "cs"
  11. let s:keepcpo= &cpo
  12. set cpo&vim
  13.  
  14. if exists(":CompilerSet") != 2        " older Vim always used :setlocal
  15.   command -nargs=* CompilerSet setlocal <args>
  16. endif
  17.  
  18. CompilerSet errorformat&
  19. CompilerSet errorformat+=%f(%l\\,%v):\ %t%*[^:]:\ %m,
  20.             \%trror%*[^:]:\ %m,
  21.             \%tarning%*[^:]:\ %m
  22.  
  23. CompilerSet makeprg=csc\ %
  24.  
  25. let &cpo = s:keepcpo
  26. unlet s:keepcpo
  27.