diff options
| author | Volodymyr Chernetskyi <volodymyr_chernetskyi@goodyear.com> | 2026-09-04 17:32:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-04 11:32:34 -0400 |
| commit | cbba00c15ad1348c15599cd7c4f4475f474f3821 (patch) | |
| tree | 5361efcb88107999ee78b503d3d83dda04272ae6 /runtime/lua/vim/async/_queue.lua | |
| parent | f22b01775979845784a7472faf239a05f693ded4 (diff) | |
| download | rneovim-cbba00c15ad1348c15599cd7c4f4475f474f3821.tar.gz rneovim-cbba00c15ad1348c15599cd7c4f4475f474f3821.tar.bz2 rneovim-cbba00c15ad1348c15599cd7c4f4475f474f3821.zip | |
fix(menu): menu_get() files terminal mode menus under the tooltip key #41687
Problem:
`menu_mode_chars` includes the two-character `"tl"` value. The hardcoded
`1` is the `key_len` argument of `tv_dict_add_dict()`, which truncated
it to `"t"`, the designator for a tooltip. Scripts keying on the
documented mode designators therefore miss terminal mode entries and
misread them as tooltips.
Solution:
Pass the real length of the designator.
AI-assisted
Diffstat (limited to 'runtime/lua/vim/async/_queue.lua')
0 files changed, 0 insertions, 0 deletions