Mercurial > vim
annotate runtime/syntax/objcpp.vim @ 11209:1083038c59ba v8.0.0491
patch 8.0.0491: quotestar test fails when features are missing
commit https://github.com/vim/vim/commit/bfd830d3e2dbd1e9b14c65625f18773074e6ac67
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 19 21:01:14 2017 +0100
patch 8.0.0491: quotestar test fails when features are missing
Problem: The quotestar test fails when a required feature is missing.
Solution: Prepend "Skipped" to the thrown exception.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 19 Mar 2017 21:15:04 +0100 |
parents | 43efa4f5a8ea |
children |
rev | line source |
---|---|
7 | 1 " Vim syntax file |
1620 | 2 " Language: Objective C++ |
3 " Maintainer: Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com> | |
4 " Ex-Maintainer: Anthony Hodsdon <ahodsdon@fastmail.fm> | |
5 " Last Change: 2007 Oct 29 | |
7 | 6 |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
1620
diff
changeset
|
7 " quit when a syntax file was already loaded |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
1620
diff
changeset
|
8 if exists("b:current_syntax") |
7 | 9 finish |
10 endif | |
11 | |
12 " Read in C++ and ObjC syntax files | |
10048
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
1620
diff
changeset
|
13 runtime! syntax/cpp.vim |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
1620
diff
changeset
|
14 unlet b:current_syntax |
43efa4f5a8ea
commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents:
1620
diff
changeset
|
15 runtime! syntax/objc.vim |
7 | 16 |
17 syn keyword objCppNonStructure class template namespace transparent contained | |
18 syn keyword objCppNonStatement new delete friend using transparent contained | |
19 | |
20 let b:current_syntax = "objcpp" |