aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nvim/shada.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/shada.c b/src/nvim/shada.c
index 3ebe75b980..69e6d61464 100644
--- a/src/nvim/shada.c
+++ b/src/nvim/shada.c
@@ -2366,7 +2366,7 @@ static inline bool ignore_buf(const buf_T *const buf,
FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_ALWAYS_INLINE
{
return (buf->b_ffname == NULL || !buf->b_p_bl || bt_quickfix(buf) \
- || in_bufset(removable_bufs, buf));
+ || bt_terminal(buf) || in_bufset(removable_bufs, buf));
}
/// Get list of buffers to write to the shada file