ch.vim (922B)
1 " Vim syntax file 2 " Language: Ch 3 " Maintainer: SoftIntegration, Inc. <info@softintegration.com> 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 12 if exists("b:current_syntax") 13 finish 14 endif 15 16 " Read the C syntax to start with 17 runtime! syntax/c.vim 18 unlet b:current_syntax 19 20 " Ch extentions 21 22 syn keyword chStatement new delete this foreach 23 syn keyword chAccess public private 24 syn keyword chStorageClass __declspec(global) __declspec(local) 25 syn keyword chStructure class 26 syn keyword chType string_t array 27 28 " Default highlighting 29 30 hi def link chAccess chStatement 31 hi def link chExceptions Exception 32 hi def link chStatement Statement 33 hi def link chType Type 34 hi def link chStructure Structure 35 36 let b:current_syntax = "ch" 37 38 " vim: ts=8