diff options
| author | glepnir <glephunter@gmail.com> | 2026-03-19 06:52:06 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-18 18:52:06 -0400 |
| commit | 8f9278d7c2586f10d6275d79132f979a49afec46 (patch) | |
| tree | 81e20ca74d29d5a6738f5d53247ee4c9d632b38d /runtime/lua/vim/provider/python.lua | |
| parent | 65e193a425c3010da4db32d3670472064ddd1808 (diff) | |
fix(menu): right-click menu fails with E335 when using V after i_ctrl-o #37349
Problem:
Right-click menu fails with E335 when using V in Insert mode (after
i_ctrl-o). The mode detection checks restart_edit before VIsual_active,
incorrectly selecting Insert mode binding even when Visual mode is
active.
Solution:
Check Visual mode before Insert mode, to match get_menu_mode() priority
order.
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions
