From 1898a105f6454b9a2ba0a7fcf63a66b162d289c0 Mon Sep 17 00:00:00 2001 From: servostar Date: Fri, 1 Nov 2024 18:20:13 +0100 Subject: [PATCH] feat: added barbar --- lua/plugins/barbar.lua | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 lua/plugins/barbar.lua 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' + } +}