1
0
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:
Daniel Bainton
2008-01-11 15:14:19 +00:00
parent bdfe11a031
commit 28910829cb
2 changed files with 6 additions and 2 deletions

View File

@@ -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];