Mercurial > hg > RemoteEditor > vim7
annotate runtime/syntax/objcpp.vim @ 34:e170173ecb68 current-release
before ack base protocol.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 26 Nov 2008 15:02:10 +0900 |
parents | 76efa0be13f1 |
children |
rev | line source |
---|---|
0 | 1 " Vim syntax file |
34
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
2 " Language: Objective C++ |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
3 " Maintainer: Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com> |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
4 " Ex-Maintainer: Anthony Hodsdon <ahodsdon@fastmail.fm> |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
5 " Last Change: 2007 Oct 29 |
0 | 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 | |
34
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
18 so <sfile>:p:h/objc.vim |
0 | 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" |