mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 15:04:13 +01:00
Use the alias of :run that was called in the output window.
This commit is contained in:
@@ -837,7 +837,7 @@ unlet s:cpo_save
|
|||||||
if (result.returnValue != 0)
|
if (result.returnValue != 0)
|
||||||
result.output += "\n" + _("io.shellReturn", result.returnValue);
|
result.output += "\n" + _("io.shellReturn", result.returnValue);
|
||||||
|
|
||||||
modules.commandline.command = "!" + arg;
|
modules.commandline.command = args.commandName.replace("run", "$& ") + arg;
|
||||||
modules.commandline.commandOutput(<span highlight="CmdOutput">{result.output}</span>);
|
modules.commandline.commandOutput(<span highlight="CmdOutput">{result.output}</span>);
|
||||||
|
|
||||||
modules.autocommands.trigger("ShellCmdPost", {});
|
modules.autocommands.trigger("ShellCmdPost", {});
|
||||||
|
|||||||
Reference in New Issue
Block a user