diff options
author | erw7 <erw7.github@gmail.com> | 2021-10-03 06:27:37 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-02 14:27:37 -0700 |
commit | c4857b695fe2ffa9fc74da01b01809480510ac39 (patch) | |
tree | d441207e638293912287dcebf113723675197b1e /runtime/lua/vim/lsp/util.lua | |
parent | 79fb9ed080bb32a442d1c788da6f0b71d72bcedd (diff) | |
download | rneovim-c4857b695fe2ffa9fc74da01b01809480510ac39.tar.gz rneovim-c4857b695fe2ffa9fc74da01b01809480510ac39.tar.bz2 rneovim-c4857b695fe2ffa9fc74da01b01809480510ac39.zip |
fix(input): resolve isolated (non-ALT/META) mappings #13109
Problem:
Since 2f06413dfb36 #13042, "ESC+c" sequence is treated as "ESC c"
instead of "M-c" (ALT/META+c) when not mapped, aka "fallthrough"
behavior. But "isolated" (non-ALT/META) mappings to ESC and c were not
resolved. This behavior is especially confusing for the TUI.
Solution:
Resolve isolated ESC, c mappings when there is no M-c mapping.
Change ins_char_typebuf() to escape CSI, K_SPECIAL.
fixes #13086
fixes #15869
Diffstat (limited to 'runtime/lua/vim/lsp/util.lua')
0 files changed, 0 insertions, 0 deletions