From 106d9ab6bd8c19f1a4b17e360c8c196b09c8d6af Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 14 Sep 2023 23:50:53 -0500 Subject: [PATCH] fix(nvim): properly load neorg --- dots/.config/nvim/lua/plugins/configs/neorg.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dots/.config/nvim/lua/plugins/configs/neorg.lua b/dots/.config/nvim/lua/plugins/configs/neorg.lua index ac452ecd..daa96f4a 100644 --- a/dots/.config/nvim/lua/plugins/configs/neorg.lua +++ b/dots/.config/nvim/lua/plugins/configs/neorg.lua @@ -3,7 +3,10 @@ return { "nvim-neorg/neorg", build = ":Neorg sync-parsers", -- This is the important bit! cmd = { "Neorg" }, - ft = { "norg" }, + event = { "FileType" }, + dependencies = { + { "nvim-treesitter/nvim-treesitter" }, + }, keys = { { "o", desc = "> Neorg" }, { "oj", ":Neorg journal custom", desc = "Neorg: Journal" },