blob: 4d94f47cdc698cd3bcbfbfab1d78449ed3af53c1 [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
Doug Kearns408281e2024-04-04 22:00:58 +02006" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
Bram Moolenaarc81e5e72007-05-05 18:24:42 +00007
8if exists("current_compiler")
9 finish
10endif
11let current_compiler = "mcs"
12
13let s:cpo_save = &cpo
14set cpo-=C
15
Enno18d730d2024-03-31 18:37:05 +020016if exists(":CompilerSet") != 2 " Older Vim always used :setlocal
17 command -nargs=* CompilerSet setlocal <args>
18endif
19
20CompilerSet makeprg=mcs
21CompilerSet errorformat=
Bram Moolenaar6c35bea2012-07-25 17:49:10 +020022 \%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 Moolenaarc81e5e72007-05-05 18:24:42 +000027 \%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 Moolenaar6c35bea2012-07-25 17:49:10 +020033 \%-G%.%#
Bram Moolenaarc81e5e72007-05-05 18:24:42 +000034
35let &cpo = s:cpo_save
36unlet s:cpo_save