mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 17:28:57 +02:00
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:
parent
43763a6226
commit
3e46dd61cd
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue