mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(bufferline): use mini.bufremove to close a buffer
This commit is contained in:
parent
d18331ca89
commit
8d6d6fddde
1 changed files with 4 additions and 0 deletions
|
|
@ -59,6 +59,10 @@ return {
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
options = {
|
options = {
|
||||||
|
-- stylua: ignore
|
||||||
|
close_command = function(n) require("mini.bufremove").delete(n, true) end,
|
||||||
|
-- stylua: ignore
|
||||||
|
right_mouse_command = function(n) require("mini.bufremove").delete(n, true) end,
|
||||||
diagnostics = "nvim_lsp",
|
diagnostics = "nvim_lsp",
|
||||||
always_show_bufferline = false,
|
always_show_bufferline = false,
|
||||||
diagnostics_indicator = function(_, _, diag)
|
diagnostics_indicator = function(_, _, diag)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue