vim: update release.sh to vim 7.3
[msysgit/mtrensch.git] / share / vim / vim72 / syntax / objcpp.vim
blobe80eed900ddbd1fede3cc387bbc19754636c7a9b
1 " Vim syntax file
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 " 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
15 " Read in C++ and ObjC syntax files
16 if version < 600
17    so <sfile>:p:h/cpp.vim
18    so <sfile>:p:h/objc.vim
19 else
20    runtime! syntax/cpp.vim
21    unlet b:current_syntax
22    runtime! syntax/objc.vim
23 endif
25 syn keyword objCppNonStructure    class template namespace transparent contained
26 syn keyword objCppNonStatement    new delete friend using transparent contained
28 let b:current_syntax = "objcpp"