Skip to content

fzdwx/bufline.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

bufline.nvim

🀏 A simple lua buffer line.

img.png

πŸ€– Installation

{
    "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,
},

πŸ“– Configuration

---@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)

πŸ’₯ Highlight

BufLineTitleSel
BufLineTitleNoSel
BufLineFill
BufLine
BufLineFolder

Thanks

  1. luatab
  2. barbar

About

🀏 A simple bufferline for Neovim

Topics

Resources

License

Stars

Watchers

Forks

Languages