xref: /vim-8.2.3635/runtime/compiler/cs.vim (revision cf2d8dee)
1" Vim compiler file
2" Compiler:	Microsoft Visual Studio C#
3" Maintainer:	Zhou YiChao ([email protected])
4" Previous Maintainer:	Joseph H. Yao ([email protected])
5" Last Change:	2012 Apr 30
6
7if exists("current_compiler")
8  finish
9endif
10let current_compiler = "cs"
11let s:keepcpo= &cpo
12set cpo&vim
13
14if exists(":CompilerSet") != 2		" older Vim always used :setlocal
15  command -nargs=* CompilerSet setlocal <args>
16endif
17
18CompilerSet errorformat&
19CompilerSet errorformat+=%f(%l\\,%v):\ %t%*[^:]:\ %m,
20            \%trror%*[^:]:\ %m,
21            \%tarning%*[^:]:\ %m
22
23CompilerSet makeprg=csc\ %
24
25let &cpo = s:keepcpo
26unlet s:keepcpo
27