diff --git a/lua/telescope/_extensions/neorg/find_project_tasks.lua b/lua/telescope/_extensions/neorg/find_project_tasks.lua index 16234ef..6144975 100644 --- a/lua/telescope/_extensions/neorg/find_project_tasks.lua +++ b/lua/telescope/_extensions/neorg/find_project_tasks.lua @@ -10,7 +10,7 @@ local entry_display = require("telescope.pickers.entry_display") local ns = vim.api.nvim_create_namespace("neorg-gtd-picker") -local neorg_loaded, _ = pcall(require, "neorg.modules") +local neorg_loaded, neorg = pcall(require, "neorg.core") assert(neorg_loaded, "Neorg is not loaded - please make sure to load Neorg first")