diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-10-22 20:27:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-22 20:27:35 -0700 |
commit | 9e4db2ef508b02583c7f30d12c045ccc07328f16 (patch) | |
tree | 1f239179a6cf53520290949ae9ac30be537b133c /src/nvim/edit.c | |
parent | 02393a0c74d3aaeece939bafa4f658763acca965 (diff) | |
parent | 3b6b528ea98ca7bf8cd5ae1cf103203e3ca67814 (diff) | |
download | rneovim-9e4db2ef508b02583c7f30d12c045ccc07328f16.tar.gz rneovim-9e4db2ef508b02583c7f30d12c045ccc07328f16.tar.bz2 rneovim-9e4db2ef508b02583c7f30d12c045ccc07328f16.zip |
Merge #11199 from bobrippling/vim-8.1.1228
vim-patch:8.1.{1099,1228,1962} add 'tagfunc'
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r-- | src/nvim/edit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index 49cf090962..62e4f77e6e 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -4047,12 +4047,14 @@ static int 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 | (l_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; |