diff --git a/data/core/commands/doc.lua b/data/core/commands/doc.lua index d0e0ddde..3d1cd7b5 100644 --- a/data/core/commands/doc.lua +++ b/data/core/commands/doc.lua @@ -67,7 +67,7 @@ end local function save(filename) doc():save(filename) - if doc().filename == (USERDIR .. "/init.lua") then + if doc().filename == (USERDIR .. PATHSEP .. "init.lua") then core.reload_module("core.style") core.load_user_directory() end