[Bufremove] Fix

This commit is contained in:
Janis Hutz 2025-03-31 10:43:08 +02:00
parent 3138926e01
commit f5533f7693

View File

@ -1,6 +1,7 @@
return {
"echasnovski/mini.bufremove",
config = function ()
vim.keymap.set( 'n', '<C-x>', ':bdelete<CR>', { silent = true, noremap = true, desc = 'Remove buffer' } );
_G.MiniBufremove = require( 'mini.bufremove' );
vim.keymap.set( 'n', '<C-x>', ':lua MiniBufremove.delete()<CR>', { silent = true, noremap = true, desc = 'Remove buffer' } );
end,
}