aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/normal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r--src/nvim/normal.c6
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