diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-03-19 23:45:11 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-03-19 23:52:17 +0100 |
commit | 2f54d6927cc02484b528a5e8b25b64c8d6580ddd (patch) | |
tree | b9cebfa51815137e8c26b9d3581106e551aba81d /src/nvim/normal.c | |
parent | db128974fcbd5702ca724610590a5dafa2e87712 (diff) | |
download | rneovim-2f54d6927cc02484b528a5e8b25b64c8d6580ddd.tar.gz rneovim-2f54d6927cc02484b528a5e8b25b64c8d6580ddd.tar.bz2 rneovim-2f54d6927cc02484b528a5e8b25b64c8d6580ddd.zip |
test/legacy: fix test_normal.vim
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 82fa9f5f97..7188e13436 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -4766,10 +4766,8 @@ static void nv_ident(cmdarg_T *cap) } } - /* - * Now grab the chars in the identifier - */ - if (cmdchar == 'K' && !kp_ex) { + // Now grab the chars in the identifier + if (cmdchar == 'K') { ptr = vim_strnsave(ptr, n); if (kp_ex) { // Escape the argument properly for an Ex command |