From 3a1169997687423ba641f8e1659faab39ca5f727 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 16 Sep 2023 15:18:35 -0500 Subject: [PATCH] fix(nvim): properly lazy load neorg --- dots/.config/nvim/lua/plugins/configs/neorg.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dots/.config/nvim/lua/plugins/configs/neorg.lua b/dots/.config/nvim/lua/plugins/configs/neorg.lua index 39216dae..0848ee26 100644 --- a/dots/.config/nvim/lua/plugins/configs/neorg.lua +++ b/dots/.config/nvim/lua/plugins/configs/neorg.lua @@ -3,7 +3,7 @@ return { "nvim-neorg/neorg", build = ":Neorg sync-parsers", -- This is the important bit! cmd = { "Neorg" }, - event = { "FileType" }, + event = { "WinEnter" }, dependencies = { { "nvim-treesitter/nvim-treesitter" }, },