summaryrefslogtreecommitdiffstats
path: root/src/tag.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tag.c')
-rw-r--r--src/tag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tag.c b/src/tag.c
index cfc300e465..148a5a0130 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -4267,6 +4267,7 @@ set_tagstack(win_T *wp, dict_T *d, int action)
taggy_T *tagstack = wp->w_tagstack;
int tagstackidx = wp->w_tagstackidx;
int tagstacklen = wp->w_tagstacklen;
+
// delete all the tag stack entries above the current entry
while (tagstackidx < tagstacklen)
tagstack_clear_entry(&tagstack[--tagstacklen]);