diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-08-23 15:04:11 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-23 15:04:11 -0400 |
| commit | 69bf8c7792a45433515c6d409c5381ff7660d815 (patch) | |
| tree | 2dbbf317f9710194c175ee4c6df917f70198bc93 /runtime/syntax/python.vim | |
| parent | bb82f9612cdbfb2ac6929167f041061e9e3d4a0a (diff) | |
| download | rneovim-69bf8c7792a45433515c6d409c5381ff7660d815.tar.gz rneovim-69bf8c7792a45433515c6d409c5381ff7660d815.tar.bz2 rneovim-69bf8c7792a45433515c6d409c5381ff7660d815.zip | |
fix(cmdatom): terminal-mode keys leak into mapping lhs #41455
Problem:
A mapping that enters terminal-mode (`:FzfLua files` via `:startinsert`)
never reaches a composite-end: terminal-mode runs no "normal" CmdFrames.
The composite collects the entire terminal session (and more) into `lhs`.
E.g. if I have `<M-/>` mapped to open `:FzfLua files`, then interact
with fzf-lua UI, the emitted CmdAtom looks like:
<M-/>… => { type='mapping', lhs='<M-/><C-N><C-N><CR>', keys=nil }
Solution:
End the composite when terminal-mode is entered, which emits a more
meaningful and repeatable atom:
<M-/>… => { type='mapping', lhs='<M-/>', keys=nil }
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions