From 41ab58e00fb0a6b323929726ae94f1d1af644e8e Mon Sep 17 00:00:00 2001 From: Fey Naomi Schrewe Date: Mon, 9 Sep 2024 17:56:13 +0200 Subject: [PATCH] feat: replace tabline --- lazy-lock.json | 2 +- lua/plugins.lua | 18 ++++++++++-------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index f1359ad..a875f04 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -2,7 +2,7 @@ "Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" }, "FixCursorHold.nvim": { "branch": "master", "commit": "1900f89dc17c603eec29960f57c00bd9ae696495" }, "LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" }, - "barbar.nvim": { "branch": "master", "commit": "31b6951c53a59bccfa91bf3984ed1510a940c836" }, + "bufferline.nvim": { "branch": "main", "commit": "2e3c8cc5a57ddd32f1edd2ffd2ccb10c09421f6c" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, "cmp-cmdline": { "branch": "main", "commit": "d250c63aa13ead745e3a40f61fdd3470efde3923" }, "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" }, diff --git a/lua/plugins.lua b/lua/plugins.lua index a7b1a92..eea78ed 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -152,13 +152,15 @@ return { end }, { - '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 = {} + 'akinsho/bufferline.nvim', + version = "*", + dependencies = 'nvim-tree/nvim-web-devicons', + opts = { + options = { + mode = 'tabs', + separator_style = "slant" + } + } }, { 'stevearc/conform.nvim', @@ -237,7 +239,7 @@ return { { 'CWood-sdf/spaceport.nvim', opts = { - replace_dirs = {{ 'C:\\Development', '#' }} + replace_dirs = { { 'C:\\Development', '#' } } }, lazy = false, -- load spaceport immediately }