diff options
| author | Yochem van Rosmalen <git@yochem.nl> | 2026-05-01 12:28:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-01 06:28:16 -0400 |
| commit | 84ae70c172596a712a8d22fa3442d37632cc2d37 (patch) | |
| tree | 0a8be9bd25e0e628bd6b2d32d9d1d66d93f2bc2e /runtime/lua/vim/net.lua | |
| parent | 858cd3d106ca8a7910968dc6bb2dbf4469da342d (diff) | |
| download | rneovim-84ae70c172596a712a8d22fa3442d37632cc2d37.tar.gz rneovim-84ae70c172596a712a8d22fa3442d37632cc2d37.tar.bz2 rneovim-84ae70c172596a712a8d22fa3442d37632cc2d37.zip | |
fix(help): fix CTRL character issue for :help {subject} #39537
Problem:
The argument to `:help` is normalized to fit the general tag format.
I.e. i^U-default, iCTRL-U-default and i_CTRL_U-default should all point
to the i_CTRL_U-default tag. Our normalization adds an underscore around
the CTRL keycode, e.g. iCTRL-GCTRL-J becomes i_CTRL-G_CTRL-J. That's not
necessary if the following part starts with a dash, like the case of
iCTRL-U-default.
Solution:
Do not insert an underscore if the following character is a dash/minus
(-).
Diffstat (limited to 'runtime/lua/vim/net.lua')
0 files changed, 0 insertions, 0 deletions