view runtime/syntax/objcpp.vim @ 17314:b60402471f69 v8.1.1656

patch 8.1.1656: popup window width is wrong when using Tabs commit https://github.com/vim/vim/commit/e089c3fd6937524a14d22baa7562b0820f1343ac Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 9 20:25:25 2019 +0200 patch 8.1.1656: popup window width is wrong when using Tabs Problem: Popup window width is wrong when using Tabs. (Paul Jolly) Solution: Count tabs correctly. (closes https://github.com/vim/vim/issues/4637)
author Bram Moolenaar <Bram@vim.org>
date Tue, 09 Jul 2019 20:30:04 +0200
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"