feat(bufferline): use mini.bufremove to close a buffer (#670)
* feat(bufferline): use `mini.bufremove` to close a buffer * fix(bufferline): don't force remove buffers --------- Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
This commit is contained in:
1 parent
43763a6226
commit
3e46dd61cd
1 file changed
+4
@@ -59,6 +59,10 @@ return {
|
||||
},
|
||||
opts = {
|
||||
options = {
|
||||
-- stylua: ignore
|
||||
close_command = function(n) require("mini.bufremove").delete(n, false) end,
|
||||
-- stylua: ignore
|
||||
right_mouse_command = function(n) require("mini.bufremove").delete(n, false) end,
|
||||
diagnostics = "nvim_lsp",
|
||||
always_show_bufferline = false,
|
||||
diagnostics_indicator = function(_, _, diag)
|
||||
|
||||
Reference in new issue
Block a user