dotfiles/nvim/lua/plugins/bufferline.lua
Benedikt Heine 4889b323ff
Some checks failed
Build / Lint Code Base (push) Has been cancelled
CI / build (push) Has been cancelled
nvim: bufferline: Match old vim behavior in sorting
2026-01-21 23:13:02 +01:00

28 lines
640 B
Lua

return {
"akinsho/bufferline.nvim",
version = "*",
dependencies = {
"nvim-tree/nvim-web-devicons",
},
event = "VeryLazy",
opts = {
options = {
mode = "buffers", -- show buffers, not tabs
numbers = "none",
diagnostics = "nvim_lsp",
separator_style = "slant",
sort_by = "insert_after_current",
show_buffer_close_icons = true,
show_close_icon = false,
always_show_bufferline = true,
offsets = {
{
filetype = "NvimTree",
text = "File Explorer",
highlight = "Directory",
separator = true,
},
},
},
},
}