Files
dotfiles/private_dot_config/nvim/lua/plugins/barbar.lua
2025-11-19 17:53:38 +01:00

16 lines
641 B
Lua

require("barbar").setup({
sidebar_filetypes = { -- Set the filetypes which barbar will offset itself for
-- Use the default values: {event = 'BufWinLeave', text = '', align = 'left'}
NvimTree = true,
-- Or, specify the text used for the offset:
undotree = {
text = 'undotree',
align = 'left', -- *optionally* specify an alignment (either 'left', 'center', or 'right')
},
-- Or, specify the event which the sidebar executes when leaving:
['neo-tree'] = {event = 'BufWipeout'},
-- Or, specify all three
Outline = {event = 'BufWinLeave', text = 'symbols-outline', align = 'right'},
},
})