| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | " Vim compiler file | 
					
						
							| 
									
										
										
										
											2011-04-28 19:02:44 +02:00
										 |  |  | " Compiler:	Microsoft Visual Studio C# | 
					
						
							|  |  |  | " Maintainer:	Zhou YiChao (broken.zhou@gmail.com) | 
					
						
							|  |  |  | " Previous Maintainer:	Joseph H. Yao (hyao@sina.com) | 
					
						
							| 
									
										
										
										
											2012-04-30 15:56:52 +02:00
										 |  |  | " Last Change:	2012 Apr 30 | 
					
						
							| 
									
										
										
										
											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
										 |  |  | 
 | 
					
						
							|  |  |  | if exists(":CompilerSet") != 2		" older Vim always used :setlocal | 
					
						
							|  |  |  |   command -nargs=* CompilerSet setlocal <args> | 
					
						
							|  |  |  | endif | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 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
										 |  |  | 
 | 
					
						
							|  |  |  | CompilerSet makeprg=csc\ % | 
					
						
							| 
									
										
										
										
											2012-04-30 15:56:52 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | let &cpo = s:keepcpo | 
					
						
							|  |  |  | unlet s:keepcpo |