🤏 A simple lua buffer line.
{
"fzdwx/bufline.nvim",
event = "BufEnter",
dependencies = {
"nvim-tree/nvim-web-devicons",
},
config = function()
local buf = require("bufline")
buf.setup({
separator = function()
return {
str = '',
hl = ""
}
end
})
end,
},
---@class BufLineOpts
---@field title function:Group
---@field modified function:string
---@field devicon function:Group
---@field separator function:Group
---@field cell function:string
---@field bufline function:string
---@field folder function:Group
---@field dirName function:string
---@field noname string
---@class Group
---@field str string
---@field hl string
--- group = {str = "helloworld", "BufLine"}
buf.setup(opts)
BufLineTitleSel
BufLineTitleNoSel
BufLineFill
BufLine
BufLineFolder