aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorVahur Sinijärv <vahursi@gmail.com>2026-06-15 13:49:41 +0300
committerGitHub <noreply@github.com>2026-06-15 06:49:41 -0400
commitdb0fca2443803969655710f89f3935b5c938c953 (patch)
tree1b304c72e0c9a1fbbd6ee970a79c2c115743a800 /test/functional/vimscript/executable_spec.lua
parenta69f2db773b85e03c631a5eb3a37f43098288194 (diff)
downloadrneovim-db0fca2443803969655710f89f3935b5c938c953.tar.gz
rneovim-db0fca2443803969655710f89f3935b5c938c953.tar.bz2
rneovim-db0fca2443803969655710f89f3935b5c938c953.zip
fix(mappings): 'langmap' with multibyte chars #40148
Problem: On some non-US keyboards, like Estonian/Swedish/etc, widely used [] characters in vim are hard to type. One way to overcome this is to use langmap option to map accented characters, that are in the same place as [] on US keyboards to []. Unfortunately this does not work currently in neovim, it cannot map multibyte characters via langmap. Solution: The fix iterates over characters in typeahead and key buffers, instead of bytes, in getchar.c handle_mapping(). It does not handle macros though, these tests are still failing when turned on. Closes #2420 Closes #27776 Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions