return { "romgrk/barbar.nvim", dependencies = { "lewis6991/gitsigns.nvim", -- OPTIONAL: for git status "nvim-tree/nvim-web-devicons", -- OPTIONAL: for file icons }, keys = { { "", "BufferNext", desc = "next tab" }, { "", "BufferPrevious", desc = "previous tab" }, { "x", "BufferClose", desc = "close tab" }, }, init = function() vim.g.barbar_auto_setup = false end, config = function() require("barbar").setup({ animation = true, auto_hide = true, clickable = true, }) end, }