mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 18:47:58 +01:00
Fix :!foo completion (but not :! foo completion, which works fine).
This commit is contained in:
@@ -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