1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 06:58:00 +01:00

Allow :set foo=bar | echo baz.

This commit is contained in:
Kris Maglione
2010-09-25 01:43:02 -04:00
parent 9a73911347
commit 944b24864f
8 changed files with 144 additions and 160 deletions

View File

@@ -576,7 +576,8 @@ const CompletionContext = Class("CompletionContext", {
if (typeof completer == "string")
completer = self[completer];
let context = CompletionContext(this, name, offset);
this.contextList.push(context);
if (this.contextList.indexOf(context) < 0)
this.contextList.push(context);
if (!context.autoComplete && !context.tabPressed && context.editor)
context.waitingForTab = true;