test/legacy: fix test_normal.vim

This commit is contained in:
Justin M. Keyes
2017-03-19 23:45:11 +01:00
parent db128974fc
commit 2f54d6927c
3 changed files with 43 additions and 39 deletions

View File

@@ -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