NordicPlayground / pc-xterm-lib

Other
2 stars 0 forks source link

Use completer function in AutocompletePlugin #1

Closed deerob4 closed 3 years ago

deerob4 commented 3 years ago

Rather than accepting a fixed list of autcompletions, the plugin now takes a function that, given the current terminal command, returns the list of completions that should be shown. This ought to make it more flexible.

The config documentation is also slightly expanded upon.