mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-05 03:05:46 +01:00
Closes issue #522.
This commit is contained in:
@@ -993,7 +993,7 @@ unlet s:cpo_save
|
|||||||
}
|
}
|
||||||
if (!match || match.scheme === "resource" && match.path)
|
if (!match || match.scheme === "resource" && match.path)
|
||||||
if (/^(\.{0,2}|~)\/|^file:/.test(context.filter)
|
if (/^(\.{0,2}|~)\/|^file:/.test(context.filter)
|
||||||
|| util.OS.isWindows && /^[a-z]:/i.test(url)
|
|| util.OS.isWindows && /^[a-z]:/i.test(context.filter)
|
||||||
|| util.getFile(context.filter)
|
|| util.getFile(context.filter)
|
||||||
|| io.isJarURL(context.filter))
|
|| io.isJarURL(context.filter))
|
||||||
completion.file(context, full);
|
completion.file(context, full);
|
||||||
|
|||||||
Reference in New Issue
Block a user