2004-06-13 20:20:40 +00:00
|
|
|
" Vim compiler file
|
2019-07-31 21:07:14 +02:00
|
|
|
" Compiler: Microsoft Visual Studio C#
|
|
|
|
" Maintainer: Yichao Zhou (broken.zhou@gmail.com)
|
|
|
|
" Previous Maintainer: Joseph H. Yao (hyao@sina.com)
|
|
|
|
" Last Change: Jul 22, 2019
|
2024-04-04 22:00:58 +02:00
|
|
|
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
2004-06-13 20:20:40 +00:00
|
|
|
|
|
|
|
if exists("current_compiler")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let current_compiler = "cs"
|
2012-04-30 15:56:52 +02:00
|
|
|
let s:keepcpo= &cpo
|
|
|
|
set cpo&vim
|
2004-06-13 20:20:40 +00:00
|
|
|
|
|
|
|
CompilerSet errorformat&
|
2011-04-28 19:02:44 +02:00
|
|
|
CompilerSet errorformat+=%f(%l\\,%v):\ %t%*[^:]:\ %m,
|
|
|
|
\%trror%*[^:]:\ %m,
|
|
|
|
\%tarning%*[^:]:\ %m
|
2004-06-13 20:20:40 +00:00
|
|
|
|
2019-07-31 21:07:14 +02:00
|
|
|
CompilerSet makeprg=csc\ %:S
|
2012-04-30 15:56:52 +02:00
|
|
|
|
|
|
|
let &cpo = s:keepcpo
|
|
|
|
unlet s:keepcpo
|