feat: added barbar

This commit is contained in:
Sven Vogel 2024-11-01 18:20:13 +01:00
parent 7e851622c6
commit 1898a105f6
1 changed files with 22 additions and 0 deletions

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

@ -0,0 +1,22 @@
return {
{
'romgrk/barbar.nvim',
dependencies = {
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
},
init = function()
vim.g.barbar_auto_setup = false
end,
opts = {
auto_hide = 1,
tabpages = true,
clickable = true,
-- Set the filetypes which barbar will offset itself for
sidebar_filetypes = {
['neo-tree'] = {event = 'BufWipeout'}
}
},
version = '^1.0.0'
}
}