blob: 94a1848d4abb52b5b75d50a5ca8afe83530985b9 [file] [log] [blame]
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00001" Vim compiler file
Enno18d730d2024-03-31 18:37:05 +02002" Compiler: Mono C# Compiler
3" Maintainer: Jarek Sobiecki <harijari@go2.pl>
4" Contributors: Peter Collingbourne and Enno Nagel
5" Last Change: 2024 Mar 29
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00006
7if exists("current_compiler")
8 finish
9endif
10let current_compiler = "mcs"
11
12let s:cpo_save = &cpo
13set cpo-=C
14
Enno18d730d2024-03-31 18:37:05 +020015if exists(":CompilerSet") != 2 " Older Vim always used :setlocal
16 command -nargs=* CompilerSet setlocal <args>
17endif
18
19CompilerSet makeprg=mcs
20CompilerSet errorformat=
Bram Moolenaar6c35bea2012-07-25 17:49:10 +020021 \%D%.%#Project\ \"%f/%[%^/\"]%#\"%.%#,
22 \%X%.%#Done\ building\ project\ \"%f/%[%^/\"]%#\"%.%#,
23 \%-G%\\s%.%#,
24 \%E%f(%l):\ error\ CS%n:%m,
25 \%W%f(%l):\ warning\ CS%n:%m,
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000026 \%E%f(%l\\,%c):\ error\ CS%n:%m,
27 \%W%f(%l\\,%c):\ warning\ CS%n:%m,
28 \%E%>syntax\ error\\,%m,%Z%f(%l\\,%c):\ error\ CS%n:%m,
29 \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
30 \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
31 \%DMaking\ %*\\a\ in\ %f,
Bram Moolenaar6c35bea2012-07-25 17:49:10 +020032 \%-G%.%#
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000033
34let &cpo = s:cpo_save
35unlet s:cpo_save