view runtime/syntax/objcpp.vim @ 18580:4ac042c8ed98 v8.1.2284

patch 8.1.2284: compiler warning for unused variable Commit: https://github.com/vim/vim/commit/439b3aca373a1fc661f20154eba340045bbe8454 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 10 01:32:12 2019 +0100 patch 8.1.2284: compiler warning for unused variable Problem: Compiler warning for unused variable. (Tony Mechelynck) Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sun, 10 Nov 2019 01:45:03 +0100
parents 43efa4f5a8ea
children
line wrap: on
line source

" Vim syntax file
" Language:	    Objective C++
" Maintainer:	    Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
" Ex-Maintainer:    Anthony Hodsdon <ahodsdon@fastmail.fm>
" Last Change:	    2007 Oct 29

" quit when a syntax file was already loaded
if exists("b:current_syntax")
   finish
endif

" Read in C++ and ObjC syntax files
runtime! syntax/cpp.vim
unlet b:current_syntax
runtime! syntax/objc.vim

syn keyword objCppNonStructure    class template namespace transparent contained
syn keyword objCppNonStatement    new delete friend using transparent contained

let b:current_syntax = "objcpp"