From ea5fe1b51d0a5b9f33a2fdd81906c5661b9198d6 Mon Sep 17 00:00:00 2001 From: Vhyrro Date: Sun, 4 Jun 2023 20:10:23 +0200 Subject: [PATCH] fix(presenter): errors on startup --- lua/neorg/modules/core/presenter/module.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/neorg/modules/core/presenter/module.lua b/lua/neorg/modules/core/presenter/module.lua index 048707088..e12d7a432 100644 --- a/lua/neorg/modules/core/presenter/module.lua +++ b/lua/neorg/modules/core/presenter/module.lua @@ -42,9 +42,9 @@ module.load = function() local keybinds = module.required["core.keybinds"] if module.config.public.zen_mode == "truezen" then - neorg.modules.load_module("core.integrations.truezen", module.name) + neorg.modules.load_module("core.integrations.truezen") elseif module.config.public.zen_mode == "zen-mode" then - neorg.modules.load_module("core.integrations.zen_mode", module.name) + neorg.modules.load_module("core.integrations.zen_mode") else log.error("Unrecognized mode for 'zen_mode' option. Please check your presenter config") error_loading = true