commit | 45e18cbdc40afd8144d20dcc07ad2d981636f4c9 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Apr 28 18:05:35 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Apr 28 18:05:35 2019 +0200 |
tree | 11762469ca5d6c4bd49ca50381160afd30dcb2f3 | |
parent | 7a9df9dd00bac462a2942dc798e298f365779fd0 [diff] [blame] |
patch 8.1.1228: not possible to process tags with a function Problem: Not possible to process tags with a function. Solution: Add tagfunc() (Christian Brabandt, Andy Massimino, closes #4010)
diff --git a/src/normal.c b/src/normal.c index 6b3a78b..e597e92 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -5724,7 +5724,11 @@ (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); }