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

Fixing tab completion for normal :set values

This commit is contained in:
Daniel Bainton
2008-01-13 01:51:33 +00:00
parent 435452018c
commit f369cd1fe0
3 changed files with 7 additions and 3 deletions

View File

@@ -447,7 +447,9 @@ vimperator.Options = function () //{{{
{
return firefoxBranch.clearUserPref(name);
},
invertFirefoxBoolean: function (name)
// this works only for booleans
invertFirefoxPref: function (name)
{
if (firefoxBranch.getPrefType(name) == firefoxBranch.PREF_BOOL)
this.setFirefoxPref(name, !this.getFirefoxPref(name));