Mercurial > vim
annotate runtime/syntax/objcpp.vim @ 22077:335365fcbb60 v8.2.1588
patch 8.2.1588: cannot read back the prompt of a prompt buffer
Commit: https://github.com/vim/vim/commit/077cc7aa0e0c431e97795612374fe17fe7c88803
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Sep 4 16:35:35 2020 +0200
patch 8.2.1588: cannot read back the prompt of a prompt buffer
Problem: Cannot read back the prompt of a prompt buffer.
Solution: Add prompt_getprompt(). (Ben Jackson, closes https://github.com/vim/vim/issues/6851)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 04 Sep 2020 16:45:04 +0200 |
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" |