aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/keymap.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-11-14 17:43:21 +0100
committerGitHub <noreply@github.com>2021-11-14 17:43:21 +0100
commit2f37ffb71920d0b50f658108736a1465e1e5f280 (patch)
tree1971f1f0f146e16cc8d0f52c97e6b9a0c21f27c6 /src/nvim/keymap.c
parentede00b29d175625479060c5c52e256ec6fc445c1 (diff)
parent1450a6f7534147e3d7252594cf06e2a1cc14b79b (diff)
downloadrneovim-2f37ffb71920d0b50f658108736a1465e1e5f280.tar.gz
rneovim-2f37ffb71920d0b50f658108736a1465e1e5f280.tar.bz2
rneovim-2f37ffb71920d0b50f658108736a1465e1e5f280.zip
Merge pull request #16316 from bfredl/macroman
refactor(macros): delete multibyte macros which just are aliases
Diffstat (limited to 'src/nvim/keymap.c')
-rw-r--r--src/nvim/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/keymap.c b/src/nvim/keymap.c
index 81e5cf6ed5..abf016b832 100644
--- a/src/nvim/keymap.c
+++ b/src/nvim/keymap.c
@@ -692,7 +692,7 @@ int find_special_key(const char_u **srcp, const size_t src_len, int *const modp,
l = utfc_ptr2len(last_dash + 1);
}
if (modifiers != 0 && last_dash[l + 1] == '>') {
- key = PTR2CHAR(last_dash + off);
+ key = utf_ptr2char(last_dash + off);
} else {
key = get_special_key_code(last_dash + off);
if (!keep_x_key) {