mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 23:58:00 +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++)
|
||||
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];
|
||||
|
||||
@@ -394,7 +394,7 @@ vimperator.Options = function () //{{{
|
||||
defaultValue = loadPreference(name, null, defaultBranch);
|
||||
|
||||
if (defaultValue == null)
|
||||
defaultValue = "new preference";
|
||||
defaultValue = "no default";
|
||||
else
|
||||
defaultValue = "default: " + defaultValue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user