Mercurial > vim
comparison runtime/doc/options.txt @ 28353:8bc8071928ed v8.2.4702
patch 8.2.4702: C++ scope labels are hard-coded
Commit: https://github.com/vim/vim/commit/3506cf34c17c5eae6c2d1317db1fcd5a8493c288
Author: Tom Praschan <13141438+tom-anders@users.noreply.github.com>
Date: Thu Apr 7 12:39:08 2022 +0100
patch 8.2.4702: C++ scope labels are hard-coded
Problem: C++ scope labels are hard-coded.
Solution: Add 'cinscopedecls' to define the labels. (Rom Praschan,
closes #10109)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 07 Apr 2022 13:45:04 +0200 |
parents | 4190b932e6ca |
children | 6dd88e45d47d |
comparison
equal
deleted
inserted
replaced
28352:10886e23615f | 28353:8bc8071928ed |
---|---|
1659 an appropriate place (inside {}). | 1659 an appropriate place (inside {}). |
1660 Note that 'ignorecase' isn't used for 'cinwords'. If case doesn't | 1660 Note that 'ignorecase' isn't used for 'cinwords'. If case doesn't |
1661 matter, include the keyword both the uppercase and lowercase: | 1661 matter, include the keyword both the uppercase and lowercase: |
1662 "if,If,IF". | 1662 "if,If,IF". |
1663 | 1663 |
1664 *'clipboard'* *'cb'* | 1664 *'cinscopedecls'* *'cinsd'* |
1665 'cinscopedecls' 'cinsd' string (default "public,protected,private") | |
1666 local to buffer | |
1667 {not available when compiled without the |+cindent| | |
1668 feature} | |
1669 Keywords that are interpreted as a C++ scope declaration by |cino-g|. | |
1670 Useful e.g. for working with the Qt framework that defines additional | |
1671 scope declarations "signals", "public slots" and "private slots": > | |
1672 set cinscopedecls+=signals,public\ slots,private\ slots | |
1673 | |
1674 < *'clipboard'* *'cb'* | |
1665 'clipboard' 'cb' string (default "autoselect,exclude:cons\|linux" | 1675 'clipboard' 'cb' string (default "autoselect,exclude:cons\|linux" |
1666 for X-windows, "" otherwise) | 1676 for X-windows, "" otherwise) |
1667 global | 1677 global |
1668 {only in GUI versions or when the |+xterm_clipboard| | 1678 {only in GUI versions or when the |+xterm_clipboard| |
1669 feature is included} | 1679 feature is included} |
1670 This option is a list of comma separated names. | 1680 This option is a list of comma-separated names. |
1671 Note: if one of the items is "exclude:", then you can't add an item | 1681 Note: if one of the items is "exclude:", then you can't add an item |
1672 after that. Therefore do append an item with += but use ^= to | 1682 after that. Therefore do append an item with += but use ^= to |
1673 prepend, e.g.: > | 1683 prepend, e.g.: > |
1674 set clipboard^=unnamed | 1684 set clipboard^=unnamed |
1675 < These names are recognized: | 1685 < These names are recognized: |