|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21573/root/usr/share/vim/vim70/syntax/ |
Upload File : |
" Vim syntax file
" Language: ObjC++
" Maintainer: Anthony Hodsdon <ahodsdon@fastmail.fm>
" Last change: 2003 Apr 25
" For version 5.x: Clear all syntax items
" For version 6.x: Quit when a syntax file was already loaded
if version < 600
syntax clear
elseif exists("b:current_syntax")
finish
endif
" Read in C++ and ObjC syntax files
if version < 600
so <sfile>:p:h/cpp.vim
so <sflie>:p:h/objc.vim
else
runtime! syntax/cpp.vim
unlet b:current_syntax
runtime! syntax/objc.vim
endif
" Note that we already have a region for method calls ( [objc_class method] )
" by way of cBracket.
syn region objCFunc start="^\s*[-+]" end="$" contains=ALLBUT,cErrInParen,cErrInBracket
syn keyword objCppNonStructure class template namespace transparent contained
syn keyword objCppNonStatement new delete friend using transparent contained
let b:current_syntax = "objcpp"