diff options
author | watiko <service@mail.watiko.net> | 2016-01-14 20:41:22 +0900 |
---|---|---|
committer | watiko <service@mail.watiko.net> | 2016-02-01 03:43:37 +0900 |
commit | 43fd12629841d459214ead194410d317ef06006c (patch) | |
tree | 074740a72dbbcc9518b2d6bc34458f3b1a298690 /src/nvim/keymap.c | |
parent | b20b8f9f0450e0a3188f2f1c89d575399e0ab9a6 (diff) | |
download | rneovim-43fd12629841d459214ead194410d317ef06006c.tar.gz rneovim-43fd12629841d459214ead194410d317ef06006c.tar.bz2 rneovim-43fd12629841d459214ead194410d317ef06006c.zip |
vim-patch:7.4.782
Problem: Still a few problems with CTRL-A and CTRL-X in Visual mode.
Solution: Fix the reported problems. (Christian Brabandt)
https://github.com/vim/vim/commit/5d1bc78a2b9fbe3e3112afcde7c80eb19d5989f4
Diffstat (limited to 'src/nvim/keymap.c')
-rw-r--r-- | src/nvim/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/keymap.c b/src/nvim/keymap.c index 7054bb822a..6aa42a9801 100644 --- a/src/nvim/keymap.c +++ b/src/nvim/keymap.c @@ -574,7 +574,7 @@ int find_special_key( if (bp[0] == 't' && bp[1] == '_' && bp[2] && bp[3]) { bp += 3; // skip t_xx, xx may be '-' or '>' } else if (STRNICMP(bp, "char-", 5) == 0) { - vim_str2nr(bp + 5, NULL, &l, true, true, true, NULL, NULL); + vim_str2nr(bp + 5, NULL, &l, true, true, true, NULL, NULL, 0); bp += l + 5; break; } @@ -600,7 +600,7 @@ int find_special_key( if (STRNICMP(last_dash + 1, "char-", 5) == 0 && ascii_isdigit(last_dash[6])) { // <Char-123> or <Char-033> or <Char-0x33> - vim_str2nr(last_dash + 6, NULL, NULL, true, true, true, NULL, &n); + vim_str2nr(last_dash + 6, NULL, NULL, true, true, true, NULL, &n, 0); key = (int)n; } else { /* |