mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-21 21:45:40 +02:00
Fix :!foo completion (but not :! foo completion, which works fine).
This commit is contained in:
1 parent
b34fe0b741
commit
4ce5925ace
2 files changed
+8
-3
No files matched your search
@@ -1001,7 +1001,7 @@ const Commands = Module("commands", {
|
||||
var context = complete.fork("args", len);
|
||||
}
|
||||
|
||||
if (!complete || /\w[!\s]/.test(str))
|
||||
if (!complete || /(\w|^)[!\s]/.test(str))
|
||||
args = command.parseArgs(args, context, { count: count, bang: bang });
|
||||
else
|
||||
args = commands.parseArgs(args, { extra: { count: count, bang: bang } });
|
||||
|
||||
Reference in new issue
Block a user