mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 04:52:28 +01:00
Fixing tab completion for :set! values
This commit is contained in:
@@ -383,7 +383,7 @@ vimperator.Completion = function () //{{{
|
|||||||
var name = prefArray[i];
|
var name = prefArray[i];
|
||||||
if (name.match("^" + filter.substr(0, filter.length - 1) + "$" ))
|
if (name.match("^" + filter.substr(0, filter.length - 1) + "$" ))
|
||||||
{
|
{
|
||||||
var value = vimperator.options.getFirefoxPref(name);
|
var value = vimperator.options.getFirefoxPref(name) + "";
|
||||||
return [filter.length + 1, [[value, ""]]];
|
return [filter.length + 1, [[value, ""]]];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user