https://github.com/fzdwx/bufline.nvim
🤏 A simple bufferline for Neovim
https://github.com/fzdwx/bufline.nvim
bufferline neovim nvim
Last synced: 9 months ago
JSON representation
🤏 A simple bufferline for Neovim
- Host: GitHub
- URL: https://github.com/fzdwx/bufline.nvim
- Owner: fzdwx
- License: mit
- Created: 2023-02-01T11:19:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-03T13:35:18.000Z (almost 3 years ago)
- Last Synced: 2025-02-08T19:47:12.254Z (11 months ago)
- Topics: bufferline, neovim, nvim
- Language: Lua
- Homepage:
- Size: 36.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bufline.nvim
🤏 A simple lua buffer line.

## 🤖 Installation
```lua
{
"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
```text
BufLineTitleSel
BufLineTitleNoSel
BufLineFill
BufLine
BufLineFolder
```
## Thanks
1. [luatab](https://github.com/alvarosevilla95/luatab.nvim)
2. [barbar](https://github.com/romgrk/barbar.nvim)