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/insexpand.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/insexpand.c')
-rw-r--r-- | src/insexpand.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/insexpand.c b/src/insexpand.c index ad95acc2e..eeff64ca2 100644 --- a/src/insexpand.c +++ b/src/insexpand.c @@ -2654,11 +2654,13 @@ ins_compl_get_exp(pos_T *ini) // Find up to TAG_MANY matches. Avoids that an enormous number // of matches is found when compl_pattern is empty + g_tag_at_cursor = TRUE; if (find_tags(compl_pattern, &num_matches, &matches, TAG_REGEXP | TAG_NAMES | TAG_NOIC | TAG_INS_COMP | (ctrl_x_mode != CTRL_X_NORMAL ? TAG_VERBOSE : 0), TAG_MANY, curbuf->b_ffname) == OK && num_matches > 0) ins_compl_add_matches(num_matches, matches, p_ic); + g_tag_at_cursor = FALSE; p_ic = save_p_ic; break; |