aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/tag.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/tag.c')
-rw-r--r--src/nvim/tag.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/tag.c b/src/nvim/tag.c
index 59f4c1e968..2c70f396a1 100644
--- a/src/nvim/tag.c
+++ b/src/nvim/tag.c
@@ -919,7 +919,8 @@ end_do_tag:
/* Only store the new index when using the tagstack and it's valid. */
if (use_tagstack && tagstackidx <= curwin->w_tagstacklen)
curwin->w_tagstackidx = tagstackidx;
- postponed_split = 0; /* don't split next time */
+ postponed_split = 0; // don't split next time
+ g_do_tagpreview = 0; // don't do tag preview next time
return jumped_to_tag;
}