This commit is contained in:
2025-05-09 22:16:19 +08:00
commit b868f3fd04
23 changed files with 575 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
return {
"akinsho/bufferline.nvim",
event = "VeryLazy",
opts = {
options = {
separator_style = { " ", " " },
},
highlights = {
buffer_selected = { italic = false, bold = false },
},
},
config = function(_, opts)
require("bufferline").setup(opts)
-- Fix bufferline when restoring a session
vim.api.nvim_create_autocmd("BufAdd", {
callback = function()
vim.schedule(function()
pcall(nvim_bufferline)
end)
end,
})
end,
}