mcs.vim 983 B

123456789101112131415161718192021222324252627282930313233
  1. " Vim compiler file
  2. " Compiler: Mono C# Compiler
  3. " Maintainer: Jarek Sobiecki <harijari@go2.pl>
  4. " Contributors: Peter Collingbourne and Enno Nagel
  5. " Last Change: 2024 Mar 29
  6. " 2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
  7. if exists("current_compiler")
  8. finish
  9. endif
  10. let current_compiler = "mcs"
  11. let s:cpo_save = &cpo
  12. set cpo-=C
  13. CompilerSet makeprg=mcs
  14. CompilerSet errorformat=
  15. \%D%.%#Project\ \"%f/%[%^/\"]%#\"%.%#,
  16. \%X%.%#Done\ building\ project\ \"%f/%[%^/\"]%#\"%.%#,
  17. \%-G%\\s%.%#,
  18. \%E%f(%l):\ error\ CS%n:%m,
  19. \%W%f(%l):\ warning\ CS%n:%m,
  20. \%E%f(%l\\,%c):\ error\ CS%n:%m,
  21. \%W%f(%l\\,%c):\ warning\ CS%n:%m,
  22. \%E%>syntax\ error\\,%m,%Z%f(%l\\,%c):\ error\ CS%n:%m,
  23. \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
  24. \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
  25. \%DMaking\ %*\\a\ in\ %f,
  26. \%-G%.%#
  27. let &cpo = s:cpo_save
  28. unlet s:cpo_save