1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-17 23:37:08 +01:00
vim/runtime/syntax/ch.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
922 B
VimL
Raw Normal View History

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
"
" 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
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
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