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

fix redeclaration of schemes in completion.colorSchemes - prevents Vimp from

loading in FF 3.0
This commit is contained in:
Doug Kearns
2008-11-24 15:04:37 +00:00
parent c2c00a86e3
commit ccdf6f1011

View File

@@ -1090,9 +1090,7 @@ function Completion() //{{{
colorScheme: function colorScheme(filter) colorScheme: function colorScheme(filter)
{ {
let schemes = [];
let rtp = options["runtimepath"].split(","); let rtp = options["runtimepath"].split(",");
let schemes = rtp.map(function (path) // FIXME: Now! Very, very broken. let schemes = rtp.map(function (path) // FIXME: Now! Very, very broken.
[[c[0].replace(/\.vimp$/, ""), ""] [[c[0].replace(/\.vimp$/, ""), ""]
for each (c in completion.file(path + "/colors/", true)[1])]); for each (c in completion.file(path + "/colors/", true)[1])]);