diff options
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index d051ba33b8..f6222f9d3f 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -4938,7 +4938,9 @@ static void nv_ident(cmdarg_T *cap) add_to_history(HIST_SEARCH, (char_u *)buf, true, NUL); (void)normal_search(cap, cmdchar == '*' ? '/' : '?', (char_u *)buf, 0); } else { + g_tag_at_cursor = true; do_cmdline_cmd(buf); + g_tag_at_cursor = false; } xfree(buf); |