mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 23:22:30 +02:00
Show function prototype in :js completion even when waiting on key press.
This commit is contained in:
1 parent
e5f4cae490
commit
be52494f4f
1 file changed
+3
-1
@@ -592,8 +592,10 @@ var JavaScript = Module("javascript", {
|
||||
|
||||
// Wait for a keypress before completing when there's no key
|
||||
if (!this.context.tabPressed && key == "" && obj.length > 1) {
|
||||
let message = this.context.message || "";
|
||||
this.context.waitingForTab = true;
|
||||
this.context.message = _("completion.waitingForKeyPress");
|
||||
this.context.message = <>{message}
|
||||
{_("completion.waitingForKeyPress")}</>;
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user