mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 08:02:28 +01:00
rename autocommand parameters fullscreen and colors to state and name
This commit is contained in:
@@ -381,7 +381,7 @@ liberator.registerObserver("load_commands", function ()
|
||||
let scheme = args.arguments[0];
|
||||
|
||||
if (io.sourceFromRuntimePath(["colors/" + scheme + ".vimp"]))
|
||||
autocommands.trigger("ColorScheme", { colors: scheme }); // XXX: Best name?
|
||||
autocommands.trigger("ColorScheme", { name: scheme });
|
||||
else
|
||||
liberator.echoerr("E185: Cannot find color scheme " + scheme);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user