feat(bufferline): auto hide x

This commit is contained in:
phucisstupid 2025-09-21 22:07:14 +07:00
parent 37a1c1af5d
commit abbc0bf34f
2 changed files with 6 additions and 0 deletions

View file

@ -82,6 +82,7 @@ opt.laststatus = 3 -- global statusline
opt.linebreak = true -- Wrap lines at convenient points
opt.list = true -- Show some invisible characters (tabs...
opt.mouse = "a" -- Enable mouse mode
opt.mousemoveevent = true -- Bufferline.nvim hover feature
opt.number = true -- Print line number
opt.pumblend = 10 -- Popup blend
opt.pumheight = 10 -- Maximum number of entries in a popup

View file

@ -18,6 +18,11 @@ return {
},
opts = {
options = {
hover = {
enabled = true,
delay = 200,
reveal = { "close" },
},
-- stylua: ignore
close_command = function(n) Snacks.bufdelete(n) end,
-- stylua: ignore