diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-04-28 18:05:35 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-04-28 18:05:35 +0200 |
commit | 45e18cbdc40afd8144d20dcc07ad2d981636f4c9 (patch) | |
tree | 11762469ca5d6c4bd49ca50381160afd30dcb2f3 /src/normal.c | |
parent | 7a9df9dd00bac462a2942dc798e298f365779fd0 (diff) | |
download | vim-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.c | 4 |
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); } |