1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-07 17:54:10 +01:00

add a color scheme parameter to

This commit is contained in:
Doug Kearns
2008-11-06 14:19:04 +00:00
parent c91f3cee03
commit e5db52a8ac
2 changed files with 2 additions and 1 deletions

View File

@@ -381,7 +381,7 @@ liberator.registerObserver("load_commands", function ()
let scheme = args.arguments[0];
if (io.sourceFromRuntimePath(["colors/" + scheme + ".vimp"]))
autocommands.trigger("ColorScheme", {});
autocommands.trigger("ColorScheme", { color: scheme }); // XXX: Best name?
else
liberator.echoerr("E185: Cannot find color scheme " + scheme);
},