mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 04:07:58 +01:00
Make JS function completion better. Fix some other completion bugs. Dont complete JS after /[\]})"/.
This commit is contained in:
@@ -366,7 +366,10 @@ function IO() //{{{
|
||||
liberator.registerObserver("load_completion", function ()
|
||||
{
|
||||
completion.setFunctionCompleter([ioManager.getFile, ioManager.expandPath],
|
||||
[function (obj, arg) completion.runCompleter("file", arg.replace(/[^\/]*$/, ""))]);
|
||||
[function (context, obj, args) {
|
||||
context.quote[2] = "";
|
||||
completion.file(context, true);
|
||||
}]);
|
||||
});
|
||||
|
||||
var ioManager = {
|
||||
|
||||
Reference in New Issue
Block a user