|
On 06/16/2015 03:45 AM, Daurnimator wrote:
Any update on the extra tab completions that are not available? This is what I get if I try and do a tab completion with no prefix: ... Many of them seem to be libraries that I have installed, but not loaded...
Yes, sorry, I forgot to mention that. The problem (or at least one of the problems) is with modules, which have been loaded but not exported to the globals table. luaprompt completes them, but does not load them since they're already loaded, so they never become tables and can't be completed any further.
I've added "globalization" of already loaded modules (subject to confirmation, if so configured), so now when you complete "prompt" and hit tab again, the module is exported to the globals table so that further completion as a table is possible.
This makes the behavior consistent with the rest of the module-completion functionality. If you don't want to see the modules at all, because they get in the way, you can configure luaprompt not to complete them. See the README for more information.