mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-25 06:52:27 +01:00
Fix JAR file completion.
This commit is contained in:
@@ -1117,7 +1117,7 @@ unlet s:cpo_save
|
||||
return Array.from(io.listJar(uri.JARFile, getDir(uri.JAREntry)),
|
||||
path => ({
|
||||
isDirectory: () => path.substr(-1) == "/",
|
||||
leafName: /([^\/]*)\/?$/.exec(s)[1]
|
||||
leafName: /([^\/]*)\/?$/.exec(path)[1]
|
||||
}));
|
||||
};
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user