| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | " Vim syntax file | 
					
						
							|  |  |  | " Language:     Ch | 
					
						
							|  |  |  | " Maintainer:   SoftIntegration, Inc. <info@softintegration.com> | 
					
						
							|  |  |  | " URL:		http://www.softintegration.com/download/vim/syntax/ch.vim | 
					
						
							| 
									
										
										
										
											2004-09-02 19:12:26 +00:00
										 |  |  | " Last change:	2004 Sep 01 | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | "		Created based on cpp.vim | 
					
						
							|  |  |  | " | 
					
						
							|  |  |  | " Ch is a C/C++ interpreter with many high level extensions | 
					
						
							|  |  |  | " | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-30 23:26:57 +02:00
										 |  |  | " quit when a syntax file was already loaded | 
					
						
							|  |  |  | if exists("b:current_syntax") | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  |   finish | 
					
						
							|  |  |  | endif | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | " Read the C syntax to start with | 
					
						
							| 
									
										
										
										
											2016-08-30 23:26:57 +02:00
										 |  |  | runtime! syntax/c.vim | 
					
						
							|  |  |  | unlet b:current_syntax | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | " Ch extentions | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2004-09-02 19:12:26 +00:00
										 |  |  | syn keyword	chStatement	new delete this foreach | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | syn keyword	chAccess	public private | 
					
						
							|  |  |  | syn keyword	chStorageClass	__declspec(global) __declspec(local) | 
					
						
							|  |  |  | syn keyword	chStructure	class | 
					
						
							|  |  |  | syn keyword	chType		string_t array | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | " Default highlighting | 
					
						
							| 
									
										
										
										
											2016-08-31 22:22:10 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | hi def link chAccess		chStatement | 
					
						
							|  |  |  | hi def link chExceptions		Exception | 
					
						
							|  |  |  | hi def link chStatement		Statement | 
					
						
							|  |  |  | hi def link chType			Type | 
					
						
							|  |  |  | hi def link chStructure		Structure | 
					
						
							| 
									
										
										
										
											2004-06-13 20:20:40 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | let b:current_syntax = "ch" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | " vim: ts=8 |