vim-patch:8.2.4702: C++ scope labels are hard-coded

Problem:    C++ scope labels are hard-coded.
Solution:   Add 'cinscopedecls' to define the labels. (Tom Praschan,
            closes vim/vim#10109)
3506cf34c1
This commit is contained in:
Tom Praschan
2022-04-07 16:14:02 +02:00
parent 233014f92b
commit 45f62464d3
11 changed files with 100 additions and 20 deletions

View File

@@ -350,6 +350,15 @@ return {
varname='p_cinw',
defaults={if_true="if,else,while,do,for,switch"}
},
{
full_name='cinscopedecls', abbreviation='cinsd',
short_desc=N_("words that are recognized by 'cino-g'"),
type='string', list='onecomma', scope={'buffer'},
deny_duplicates=true,
alloced=true,
varname='p_cinsd',
defaults={if_true="public,protected,private"}
},
{
full_name='clipboard', abbreviation='cb',
short_desc=N_("use the clipboard as the unnamed register"),