Mercurial > vim
annotate runtime/syntax/objcpp.vim @ 33378:dd9da4eb6780
Added tag v9.0.1947 for changeset e3613ffa370d79864fbf9e0fe7d7ea9a258e35c3
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 28 Sep 2023 22:15:08 +0200 |
parents | 43efa4f5a8ea |
children |
rev | line source |
---|---|
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 |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
1620
diff
changeset
|
7 " quit when a syntax file was already loaded |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
1620
diff
changeset
|
8 if exists("b:current_syntax") |
7 | 9 finish |
10 endif | |
11 | |
12 " Read in C++ and ObjC syntax files | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
1620
diff
changeset
|
13 runtime! syntax/cpp.vim |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
1620
diff
changeset
|
14 unlet b:current_syntax |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
1620
diff
changeset
|
15 runtime! syntax/objc.vim |
7 | 16 |
17 syn keyword objCppNonStructure class template namespace transparent contained | |
18 syn keyword objCppNonStatement new delete friend using transparent contained | |
19 | |
20 let b:current_syntax = "objcpp" |