diff options
author | bfredl <bjorn.linse@gmail.com> | 2025-01-09 14:05:40 +0100 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2025-01-13 11:55:16 +0100 |
commit | 913e81c35f162c1e2647565397608f63f38d7043 (patch) | |
tree | 33504d3677805bf8224b6ec1ac2386575c6a056f /runtime/lua/vim/lsp.lua | |
parent | dcaf8bef08d094889ef5fac24d123871dd0e6a6f (diff) | |
download | rneovim-913e81c35f162c1e2647565397608f63f38d7043.tar.gz rneovim-913e81c35f162c1e2647565397608f63f38d7043.tar.bz2 rneovim-913e81c35f162c1e2647565397608f63f38d7043.zip |
fix(getchar): do not simplify keycodes in terminal mode
The code represents a useful pattern in normal mode where remapping
`<tab>` will implicitly also remap `<c-i>` unless you remap that
explicitly. This relies on the _unmapped_ behavior being identical which
is not true in terminal mode, as vterm can distinguish these keys.
Vim seems to entangle this with kitty keyboard mode detection which
is irrelevant for us. Conditional fallbacks depending on
keyboard mode could be done completely inside `vterm/` without getchar.c
getting involved, I would think.
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
0 files changed, 0 insertions, 0 deletions