mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(bufferline): auto hide x
This commit is contained in:
parent
37a1c1af5d
commit
abbc0bf34f
2 changed files with 6 additions and 0 deletions
|
|
@ -82,6 +82,7 @@ opt.laststatus = 3 -- global statusline
|
||||||
opt.linebreak = true -- Wrap lines at convenient points
|
opt.linebreak = true -- Wrap lines at convenient points
|
||||||
opt.list = true -- Show some invisible characters (tabs...
|
opt.list = true -- Show some invisible characters (tabs...
|
||||||
opt.mouse = "a" -- Enable mouse mode
|
opt.mouse = "a" -- Enable mouse mode
|
||||||
|
opt.mousemoveevent = true -- Bufferline.nvim hover feature
|
||||||
opt.number = true -- Print line number
|
opt.number = true -- Print line number
|
||||||
opt.pumblend = 10 -- Popup blend
|
opt.pumblend = 10 -- Popup blend
|
||||||
opt.pumheight = 10 -- Maximum number of entries in a popup
|
opt.pumheight = 10 -- Maximum number of entries in a popup
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,11 @@ return {
|
||||||
},
|
},
|
||||||
opts = {
|
opts = {
|
||||||
options = {
|
options = {
|
||||||
|
hover = {
|
||||||
|
enabled = true,
|
||||||
|
delay = 200,
|
||||||
|
reveal = { "close" },
|
||||||
|
},
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
close_command = function(n) Snacks.bufdelete(n) end,
|
close_command = function(n) Snacks.bufdelete(n) end,
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue