cs.vim 640 B

123456789101112131415161718192021222324
  1. " Vim compiler file
  2. " Compiler: Microsoft Visual Studio C#
  3. " Maintainer: Yichao Zhou (broken.zhou@gmail.com)
  4. " Previous Maintainer: Joseph H. Yao (hyao@sina.com)
  5. " Last Change: Jul 22, 2019
  6. " 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
  7. if exists("current_compiler")
  8. finish
  9. endif
  10. let current_compiler = "cs"
  11. let s:keepcpo= &cpo
  12. set cpo&vim
  13. CompilerSet errorformat&
  14. CompilerSet errorformat+=%f(%l\\,%v):\ %t%*[^:]:\ %m,
  15. \%trror%*[^:]:\ %m,
  16. \%tarning%*[^:]:\ %m
  17. CompilerSet makeprg=csc\ %:S
  18. let &cpo = s:keepcpo
  19. unlet s:keepcpo