mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 21:57:58 +01:00
Fixing tab completion for :set!
This commit is contained in:
@@ -391,7 +391,11 @@ vimperator.Completion = function () //{{{
|
||||
}
|
||||
|
||||
for (var i = 0; i < prefArray.length; i++)
|
||||
optionCompletions.push([prefArray[i], vimperator.options.getFirefoxPref(prefArray[i])]);
|
||||
if (!filter)
|
||||
optionCompletions.push([prefArray[i], vimperator.options.getFirefoxPref(prefArray[i])]);
|
||||
else
|
||||
optionCompletions.push([[prefArray[i]], vimperator.options.getFirefoxPref(prefArray[i])]);
|
||||
|
||||
|
||||
if (!filter)
|
||||
return [0, optionCompletions];
|
||||
|
||||
Reference in New Issue
Block a user