From bd140eb1e0c0699c773ba384284bd74ad70a34fe Mon Sep 17 00:00:00 2001 From: hankertrix <91734413+hankertrix@users.noreply.github.com> Date: Mon, 7 Aug 2023 12:24:42 +0800 Subject: [PATCH] Updated the firenvim configuration Now that @folke has changed the functionality of the cond keyword, the only sane way to lazy load firenvim is to use the lazy keyword to load firenvim when needed. Also removed the lazy load function to load firenvim as it is no longer needed. Firenvim will be loaded when the firenvim#install function is called. --- .config/nvim/lua/plugins/firenvim.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/.config/nvim/lua/plugins/firenvim.lua b/.config/nvim/lua/plugins/firenvim.lua index 783d6d6..aeca008 100644 --- a/.config/nvim/lua/plugins/firenvim.lua +++ b/.config/nvim/lua/plugins/firenvim.lua @@ -17,9 +17,7 @@ vim.g.firenvim_config = { return { "glacambre/firenvim", lazy = require("utils").firenvim_not_active(), - -- cond = not require("utils").firenvim_not_active(), build = function() - require("lazy").load({ plugins = "firenvim", wait = true }) vim.fn["firenvim#install"](0) end }