Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 32 lines (26 sloc) 0.896 kB
e5c6ef7 updated for version 7.0001
vimboss authored
1 " Vim syntax file
2 " Language: ObjC++
3 " Maintainer: Anthony Hodsdon <ahodsdon@fastmail.fm>
4 " Last change: 2003 Apr 25
5
6 " For version 5.x: Clear all syntax items
7 " For version 6.x: Quit when a syntax file was already loaded
8 if version < 600
9 syntax clear
10 elseif exists("b:current_syntax")
11 finish
12 endif
13
14 " Read in C++ and ObjC syntax files
15 if version < 600
16 so <sfile>:p:h/cpp.vim
17 so <sflie>:p:h/objc.vim
18 else
19 runtime! syntax/cpp.vim
20 unlet b:current_syntax
21 runtime! syntax/objc.vim
22 endif
23
24 " Note that we already have a region for method calls ( [objc_class method] )
25 " by way of cBracket.
26 syn region objCFunc start="^\s*[-+]" end="$" contains=ALLBUT,cErrInParen,cErrInBracket
27
28 syn keyword objCppNonStructure class template namespace transparent contained
29 syn keyword objCppNonStatement new delete friend using transparent contained
30
31 let b:current_syntax = "objcpp"
Something went wrong with that request. Please try again.