1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 00:37:58 +01:00

fix whitespace formatting - remove leading tab characters with :retab

This commit is contained in:
Doug Kearns
2007-08-17 16:40:06 +00:00
parent dd14513fa2
commit 3efc83341c
4 changed files with 100 additions and 100 deletions

View File

@@ -473,11 +473,11 @@ vimperator.completion = (function() // {{{
if (command && command.completer)
{
completions = command.completer.call(this, args);
// if (command[0][0] == "open" ||
// command[0][0] == "tabopen" ||
// command[0][0] == "winopen")
// start = str.search(/^:*\d*\w+(\s+|.*\|)/); // up to the last | or the first space
// else
// if (command[0][0] == "open" ||
// command[0][0] == "tabopen" ||
// command[0][0] == "winopen")
// start = str.search(/^:*\d*\w+(\s+|.*\|)/); // up to the last | or the first space
// else
matches = str.match(/^:*\d*\w+\s+/); // up to the first spaces only
start = matches[0].length;
}