From 728d524d2173dc3bf0f412169ea54d6406a6a849 Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Mon, 24 Apr 2023 08:40:23 +0200 Subject: [PATCH] fix(bufferline): don't force remove buffers --- lua/lazyvim/plugins/ui.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/lazyvim/plugins/ui.lua b/lua/lazyvim/plugins/ui.lua index f44f0342..e223b515 100644 --- a/lua/lazyvim/plugins/ui.lua +++ b/lua/lazyvim/plugins/ui.lua @@ -60,9 +60,9 @@ return { opts = { options = { -- stylua: ignore - close_command = function(n) require("mini.bufremove").delete(n, true) end, + close_command = function(n) require("mini.bufremove").delete(n, false) end, -- stylua: ignore - right_mouse_command = function(n) require("mini.bufremove").delete(n, true) end, + right_mouse_command = function(n) require("mini.bufremove").delete(n, false) end, diagnostics = "nvim_lsp", always_show_bufferline = false, diagnostics_indicator = function(_, _, diag)