diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/quickfix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index a549e12adc..e7d2da2fc6 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -6875,7 +6875,8 @@ bool set_ref_in_quickfix(int copyID) // In a location list window and none of the other windows is // referring to this location list. Mark the location list // context as still in use. - if (mark_quickfix_ctx(win->w_llist_ref, copyID)) { + if (mark_quickfix_ctx(win->w_llist_ref, copyID) + || mark_quickfix_user_data(win->w_llist_ref, copyID)) { return true; } } |