summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-04-28 18:05:35 +0200
committerBram Moolenaar <Bram@vim.org>2019-04-28 18:05:35 +0200
commit45e18cbdc40afd8144d20dcc07ad2d981636f4c9 (patch)
tree11762469ca5d6c4bd49ca50381160afd30dcb2f3 /src/normal.c
parent7a9df9dd00bac462a2942dc798e298f365779fd0 (diff)
downloadvim-git-45e18cbdc40afd8144d20dcc07ad2d981636f4c9.tar.gz
patch 8.1.1228: not possible to process tags with a functionv8.1.1228
Problem: Not possible to process tags with a function. Solution: Add tagfunc() (Christian Brabandt, Andy Massimino, closes #4010)
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/normal.c b/src/normal.c
index 6b3a78b10..e597e9245 100644
--- a/src/normal.c
+++ b/src/normal.c
@@ -5724,7 +5724,11 @@ nv_ident(cmdarg_T *cap)
(void)normal_search(cap, cmdchar == '*' ? '/' : '?', buf, 0);
}
else
+ {
+ g_tag_at_cursor = TRUE;
do_cmdline_cmd(buf);
+ g_tag_at_cursor = FALSE;
+ }
vim_free(buf);
}