mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 19:37:59 +01:00
regexp catches also commands with \!
This commit is contained in:
@@ -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