diff --git a/lua/plugins/barbar.lua b/lua/plugins/barbar.lua new file mode 100644 index 0000000..7d77adc --- /dev/null +++ b/lua/plugins/barbar.lua @@ -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' + } +}