|
|
|
@ -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")
|
|
|
|
|