From f5533f7693bf814c144f4a9ba02e86ce10b67056 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Mon, 31 Mar 2025 10:43:08 +0200 Subject: [PATCH] [Bufremove] Fix --- nvim/lua/plugins/nav/bufremove.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nvim/lua/plugins/nav/bufremove.lua b/nvim/lua/plugins/nav/bufremove.lua index 2cb4474..067a7db 100755 --- a/nvim/lua/plugins/nav/bufremove.lua +++ b/nvim/lua/plugins/nav/bufremove.lua @@ -1,6 +1,7 @@ return { "echasnovski/mini.bufremove", config = function () - vim.keymap.set( 'n', '', ':bdelete', { silent = true, noremap = true, desc = 'Remove buffer' } ); + _G.MiniBufremove = require( 'mini.bufremove' ); + vim.keymap.set( 'n', '', ':lua MiniBufremove.delete()', { silent = true, noremap = true, desc = 'Remove buffer' } ); end, }