Neovim/lua/plugins/barbar.lua

23 lines
626 B
Lua
Raw Permalink Normal View History

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