xref: /vim-8.2.3635/runtime/syntax/ch.vim (revision f37506f6)
1" Vim syntax file
2" Language:     Ch
3" Maintainer:   SoftIntegration, Inc. <[email protected]>
4" URL:		http://www.softintegration.com/download/vim/syntax/ch.vim
5" Last change:	2004 Sep 01
6"		Created based on cpp.vim
7"
8" Ch is a C/C++ interpreter with many high level extensions
9"
10
11" quit when a syntax file was already loaded
12if exists("b:current_syntax")
13  finish
14endif
15
16" Read the C syntax to start with
17runtime! syntax/c.vim
18unlet b:current_syntax
19
20" Ch extentions
21
22syn keyword	chStatement	new delete this foreach
23syn keyword	chAccess	public private
24syn keyword	chStorageClass	__declspec(global) __declspec(local)
25syn keyword	chStructure	class
26syn keyword	chType		string_t array
27
28" Default highlighting
29
30hi def link chAccess		chStatement
31hi def link chExceptions		Exception
32hi def link chStatement		Statement
33hi def link chType			Type
34hi def link chStructure		Structure
35
36let b:current_syntax = "ch"
37
38" vim: ts=8
39