1" Vim syntax file 2" Language: Objective C++ 3" Maintainer: Kazunobu Kuriyama <[email protected]> 4" Ex-Maintainer: Anthony Hodsdon <[email protected]> 5" Last Change: 2007 Oct 29 6 7" For version 5.x: Clear all syntax items 8" For version 6.x: Quit when a syntax file was already loaded 9if version < 600 10 syntax clear 11elseif exists("b:current_syntax") 12 finish 13endif 14 15" Read in C++ and ObjC syntax files 16if version < 600 17 so <sfile>:p:h/cpp.vim 18 so <sfile>:p:h/objc.vim 19else 20 runtime! syntax/cpp.vim 21 unlet b:current_syntax 22 runtime! syntax/objc.vim 23endif 24 25syn keyword objCppNonStructure class template namespace transparent contained 26syn keyword objCppNonStatement new delete friend using transparent contained 27 28let b:current_syntax = "objcpp" 29