This commit is contained in:
timofey.kovalev
2024-11-18 23:32:50 +03:00
parent de76d823e7
commit 0d947098f3
9 changed files with 189 additions and 16 deletions

22
lua/plugins/barbar.lua Normal file
View File

@ -0,0 +1,22 @@
local g = vim.g
return {
"romgrk/barbar.nvim",
dependencies = {
"lewis6991/gitsigns.nvim", -- OPTIONAL: for git status
"nvim-tree/nvim-web-devicons", -- OPTIONAL: for file icons
},
init = function()
g.barbar_auto_setup = false
end,
opts = {
-- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default:
animation = true,
insert_at_start = true,
auto_hide = true,
sidebar_filetypes = {
["neo-tree"] = { event = "BufWipeout" },
},
-- …etc.
},
}