mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 05:22:29 +02:00
regexp catches also commands with \!
This commit is contained in:
1 parent
51332e41a9
commit
1b05946b56
1 file changed
+1
-1
@@ -589,7 +589,7 @@ vimperator.Completion = function () // {{{
|
||||
var command = vimperator.commands.get(cmd);
|
||||
if (command && command.completer)
|
||||
{
|
||||
matches = str.match(/^:*\d*\w+\s+/);
|
||||
matches = str.match(/^:*\d*\w+!?\s+/);
|
||||
start = matches ? matches[0].length : 0;
|
||||
|
||||
// TODO: maybe we should move these checks to the complete functions
|
||||
|
||||
Reference in new issue
Block a user