mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 15:52:29 +01:00
fix redeclaration of schemes in completion.colorSchemes - prevents Vimp from
loading in FF 3.0
This commit is contained in:
@@ -1090,9 +1090,7 @@ function Completion() //{{{
|
||||
|
||||
colorScheme: function colorScheme(filter)
|
||||
{
|
||||
let schemes = [];
|
||||
let rtp = options["runtimepath"].split(",");
|
||||
|
||||
let schemes = rtp.map(function (path) // FIXME: Now! Very, very broken.
|
||||
[[c[0].replace(/\.vimp$/, ""), ""]
|
||||
for each (c in completion.file(path + "/colors/", true)[1])]);
|
||||
|
||||
Reference in New Issue
Block a user