mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 02:34:11 +01:00
Make JS function completion better. Fix some other completion bugs. Dont complete JS after /[\]})"/.
This commit is contained in:
@@ -263,9 +263,9 @@ function Mappings() //{{{
|
||||
completion.setFunctionCompleter(mappings.get,
|
||||
[
|
||||
null,
|
||||
function (obj, filter, args)
|
||||
function (context, obj, args)
|
||||
{
|
||||
let mode = this.eval(args[0]);
|
||||
let mode = args[0]
|
||||
return util.Array.flatten(
|
||||
[
|
||||
[[name, map.description] for ([i, name] in Iterator(map.names))]
|
||||
|
||||
Reference in New Issue
Block a user