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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user