Mercurial > vim
comparison runtime/optwin.vim @ 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 | f0d7cb510ce3 |
children | 6dd88e45d47d |
comparison
equal
deleted
inserted
replaced
28352:10886e23615f | 28353:8bc8071928ed |
---|---|
622 call <SID>AddOption("scrollfocus", gettext("the window with the mouse pointer scrolls with the mouse wheel")) | 622 call <SID>AddOption("scrollfocus", gettext("the window with the mouse pointer scrolls with the mouse wheel")) |
623 call <SID>BinOptionG("scf", &scf) | 623 call <SID>BinOptionG("scf", &scf) |
624 if has("gui") | 624 if has("gui") |
625 call <SID>AddOption("mousehide", gettext("hide the mouse pointer while typing")) | 625 call <SID>AddOption("mousehide", gettext("hide the mouse pointer while typing")) |
626 call <SID>BinOptionG("mh", &mh) | 626 call <SID>BinOptionG("mh", &mh) |
627 call <SID>AddOption("mousemoveevent", gettext("report mouse movement events")) | |
628 call <SID>BinOptionG("mousemev", &mousemev) | |
627 endif | 629 endif |
628 call <SID>AddOption("mousemodel", gettext("\"extend\", \"popup\" or \"popup_setpos\"; what the right\nmouse button is used for")) | 630 call <SID>AddOption("mousemodel", gettext("\"extend\", \"popup\" or \"popup_setpos\"; what the right\nmouse button is used for")) |
629 call <SID>OptionG("mousem", &mousem) | 631 call <SID>OptionG("mousem", &mousem) |
630 call <SID>AddOption("mousetime", gettext("maximum time in msec to recognize a double-click")) | 632 call <SID>AddOption("mousetime", gettext("maximum time in msec to recognize a double-click")) |
631 call append("$", " \tset mouset=" . &mouset) | 633 call append("$", " \tset mouset=" . &mouset) |
925 call append("$", "\t" .. s:local_to_buffer) | 927 call append("$", "\t" .. s:local_to_buffer) |
926 call <SID>OptionL("cink") | 928 call <SID>OptionL("cink") |
927 call <SID>AddOption("cinwords", gettext("list of words that cause more C-indent")) | 929 call <SID>AddOption("cinwords", gettext("list of words that cause more C-indent")) |
928 call append("$", "\t" .. s:local_to_buffer) | 930 call append("$", "\t" .. s:local_to_buffer) |
929 call <SID>OptionL("cinw") | 931 call <SID>OptionL("cinw") |
932 call <SID>AddOption("cinscopedecls", gettext("list of scope declaration names used by cino-g")) | |
933 call append("$", "\t" .. s:local_to_buffer) | |
934 call <SID>OptionL("cinsd") | |
930 call <SID>AddOption("indentexpr", gettext("expression used to obtain the indent of a line")) | 935 call <SID>AddOption("indentexpr", gettext("expression used to obtain the indent of a line")) |
931 call append("$", "\t" .. s:local_to_buffer) | 936 call append("$", "\t" .. s:local_to_buffer) |
932 call <SID>OptionL("inde") | 937 call <SID>OptionL("inde") |
933 call <SID>AddOption("indentkeys", gettext("keys that trigger indenting with 'indentexpr' in Insert mode")) | 938 call <SID>AddOption("indentkeys", gettext("keys that trigger indenting with 'indentexpr' in Insert mode")) |
934 call append("$", "\t" .. s:local_to_buffer) | 939 call append("$", "\t" .. s:local_to_buffer) |