mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2026-01-29 01:13:01 +01:00
nvim: Use bufferline
This commit is contained in:
parent
9a319d8bf7
commit
b4fbe4dd12
2 changed files with 28 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "42d6aed4e94e0f0bbced16bbdcc42f57673bd75e" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
|
||||
"nvim-autopairs": { "branch": "master", "commit": "c2a0dd0d931d0fb07665e1fedb1ea688da3b80b4" },
|
||||
|
|
|
|||
27
nvim/lua/plugins/bufferline.lua
Normal file
27
nvim/lua/plugins/bufferline.lua
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
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",
|
||||
show_buffer_close_icons = true,
|
||||
show_close_icon = false,
|
||||
always_show_bufferline = true,
|
||||
offsets = {
|
||||
{
|
||||
filetype = "NvimTree",
|
||||
text = "File Explorer",
|
||||
highlight = "Directory",
|
||||
separator = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue