mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.2a
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
" Vim syntax file
|
||||
" Language: ObjC++
|
||||
" Maintainer: Anthony Hodsdon <ahodsdon@fastmail.fm>
|
||||
" Last change: 2003 Apr 25
|
||||
" Language: Objective C++
|
||||
" Maintainer: Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
|
||||
" Ex-Maintainer: Anthony Hodsdon <ahodsdon@fastmail.fm>
|
||||
" Last Change: 2007 Oct 29
|
||||
|
||||
" For version 5.x: Clear all syntax items
|
||||
" For version 6.x: Quit when a syntax file was already loaded
|
||||
@@ -14,17 +15,13 @@ endif
|
||||
" Read in C++ and ObjC syntax files
|
||||
if version < 600
|
||||
so <sfile>:p:h/cpp.vim
|
||||
so <sflie>:p:h/objc.vim
|
||||
so <sfile>: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
|
||||
|
||||
|
Reference in New Issue
Block a user