more nvim tweak

This commit is contained in:
François
2025-11-19 17:53:38 +01:00
parent a1e26b01ab
commit 300b58b88d
3 changed files with 29 additions and 3 deletions

View File

@@ -1 +1,15 @@
require("barbar").setup({})
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'},
},
})