Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 1 | " Vim compiler file |
Enno | 18d730d | 2024-03-31 18:37:05 +0200 | [diff] [blame] | 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 |
Doug Kearns | 408281e | 2024-04-04 22:00:58 +0200 | [diff] [blame] | 6 | " 2024 Apr 03 by The Vim Project (removed :CompilerSet definition) |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 7 | |
| 8 | if exists("current_compiler") |
| 9 | finish |
| 10 | endif |
| 11 | let current_compiler = "mcs" |
| 12 | |
| 13 | let s:cpo_save = &cpo |
| 14 | set cpo-=C |
| 15 | |
Enno | 18d730d | 2024-03-31 18:37:05 +0200 | [diff] [blame] | 16 | if exists(":CompilerSet") != 2 " Older Vim always used :setlocal |
| 17 | command -nargs=* CompilerSet setlocal <args> |
| 18 | endif |
| 19 | |
| 20 | CompilerSet makeprg=mcs |
| 21 | CompilerSet errorformat= |
Bram Moolenaar | 6c35bea | 2012-07-25 17:49:10 +0200 | [diff] [blame] | 22 | \%D%.%#Project\ \"%f/%[%^/\"]%#\"%.%#, |
| 23 | \%X%.%#Done\ building\ project\ \"%f/%[%^/\"]%#\"%.%#, |
| 24 | \%-G%\\s%.%#, |
| 25 | \%E%f(%l):\ error\ CS%n:%m, |
| 26 | \%W%f(%l):\ warning\ CS%n:%m, |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 27 | \%E%f(%l\\,%c):\ error\ CS%n:%m, |
| 28 | \%W%f(%l\\,%c):\ warning\ CS%n:%m, |
| 29 | \%E%>syntax\ error\\,%m,%Z%f(%l\\,%c):\ error\ CS%n:%m, |
| 30 | \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f', |
| 31 | \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f', |
| 32 | \%DMaking\ %*\\a\ in\ %f, |
Bram Moolenaar | 6c35bea | 2012-07-25 17:49:10 +0200 | [diff] [blame] | 33 | \%-G%.%# |
Bram Moolenaar | c81e5e7 | 2007-05-05 18:24:42 +0000 | [diff] [blame] | 34 | |
| 35 | let &cpo = s:cpo_save |
| 36 | unlet s:cpo_save |