mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 17:27:57 +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);
|
var command = vimperator.commands.get(cmd);
|
||||||
if (command && command.completer)
|
if (command && command.completer)
|
||||||
{
|
{
|
||||||
matches = str.match(/^:*\d*\w+\s+/);
|
matches = str.match(/^:*\d*\w+!?\s+/);
|
||||||
start = matches ? matches[0].length : 0;
|
start = matches ? matches[0].length : 0;
|
||||||
|
|
||||||
// TODO: maybe we should move these checks to the complete functions
|
// TODO: maybe we should move these checks to the complete functions
|
||||||
|
|||||||
Reference in New Issue
Block a user