diff --git a/library/Core.cpp b/library/Core.cpp index 836772c04..33d9c43b2 100644 --- a/library/Core.cpp +++ b/library/Core.cpp @@ -826,9 +826,14 @@ command_result Core::runCommand(color_ostream &con, const std::string &first_, v "%20s\t%-3s%s\n", (plug->getName()+":").c_str(), plug->is_enabled() ? "on" : "off", - plug->can_set_enabled() ? "" : " (controlled elsewhere)" + plug->can_set_enabled() ? "" : " (controlled internally)" ); } + + auto L = Lua::Core::State; + Lua::StackUnwinder top(L); + Lua::CallLuaModuleFunction(con, L, + "plugins.script-manager", "list"); } } else if (first == "ls" || first == "dir")