diff options
author | Rob Pilling <robpilling@gmail.com> | 2019-10-10 22:06:45 +0100 |
---|---|---|
committer | Rob Pilling <robpilling@gmail.com> | 2019-10-22 20:13:02 +0100 |
commit | 194f7bfacea934177d524197127242947bd28471 (patch) | |
tree | d13ac87810663c783907e96c8a9a691630755ddf /src/nvim/normal.c | |
parent | e284b7233fb459a7a6d4ce0f98371b34b3639d2b (diff) | |
download | rneovim-194f7bfacea934177d524197127242947bd28471.tar.gz rneovim-194f7bfacea934177d524197127242947bd28471.tar.bz2 rneovim-194f7bfacea934177d524197127242947bd28471.zip |
vim-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 vim/vim#4010)
https://github.com/vim/vim/commit/45e18cbdc40afd8144d20dcc07ad2d981636f4c9
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 e0dc9d4f23..28183ffa1d 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -4929,7 +4929,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); |