7
|
1 " Vim syntax file
|
1620
|
2 " Language: Objective C++
|
|
3 " Maintainer: Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
|
|
4 " Ex-Maintainer: Anthony Hodsdon <ahodsdon@fastmail.fm>
|
|
5 " Last Change: 2007 Oct 29
|
7
|
6
|
|
7 " For version 5.x: Clear all syntax items
|
|
8 " For version 6.x: Quit when a syntax file was already loaded
|
|
9 if version < 600
|
|
10 syntax clear
|
|
11 elseif exists("b:current_syntax")
|
|
12 finish
|
|
13 endif
|
|
14
|
|
15 " Read in C++ and ObjC syntax files
|
|
16 if version < 600
|
|
17 so <sfile>:p:h/cpp.vim
|
1620
|
18 so <sfile>:p:h/objc.vim
|
7
|
19 else
|
|
20 runtime! syntax/cpp.vim
|
|
21 unlet b:current_syntax
|
|
22 runtime! syntax/objc.vim
|
|
23 endif
|
|
24
|
|
25 syn keyword objCppNonStructure class template namespace transparent contained
|
|
26 syn keyword objCppNonStatement new delete friend using transparent contained
|
|
27
|
|
28 let b:current_syntax = "objcpp"
|