From a631e4878665b7eca19e4259046c291f1d884007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Fri, 1 Dec 2023 14:11:31 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20perf(nvim):=20changed=20event=20?= =?UTF-8?q?loading=20for=20dropbar=20plugin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/lua/plugins/extras/lang/bash.lua | 2 +- .config/nvim/lua/plugins/extras/ui/breadcrumbs.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/nvim/lua/plugins/extras/lang/bash.lua b/.config/nvim/lua/plugins/extras/lang/bash.lua index 5f573d53..3cded29d 100644 --- a/.config/nvim/lua/plugins/extras/lang/bash.lua +++ b/.config/nvim/lua/plugins/extras/lang/bash.lua @@ -3,7 +3,7 @@ return { "nvim-treesitter/nvim-treesitter", opts = function(_, opts) if type(opts.ensure_installed) == "table" then - vim.list_extend(opts.ensure_installed, { "bash", "fish" }) + vim.list_extend(opts.ensure_installed, { "bash" }) end end, }, diff --git a/.config/nvim/lua/plugins/extras/ui/breadcrumbs.lua b/.config/nvim/lua/plugins/extras/ui/breadcrumbs.lua index 1fcc4fe3..cdb448f1 100644 --- a/.config/nvim/lua/plugins/extras/ui/breadcrumbs.lua +++ b/.config/nvim/lua/plugins/extras/ui/breadcrumbs.lua @@ -1,7 +1,7 @@ if vim.fn.has("nvim-0.10") == 1 then return { "Bekaboo/dropbar.nvim", - event = "BufRead", + event = "BufWinEnter", opts = { sources = { terminal = { @@ -17,7 +17,7 @@ else version = "*", dependencies = { "SmiteshP/nvim-navic", - "nvim-tree/nvim-web-devicons", -- optional dependency + "nvim-tree/nvim-web-devicons", }, event = "BufRead", opts = {},