Re: [code] How to generate API files for Textadept's Lua auto-completer?

From: Mitchell <m.att.foicica.com>
Date: Thu, 7 Nov 2019 23:07:22 -0500 (EST)

Hi David,

On Sun, 27 Oct 2019, David Tamar wrote:

> Hi Mitchell, it's going well so far and I'd like to suggest a small possible improvement for Textadept's auto-completion when developing for standalone Lua interpreters, and that is:
>
> Textadept will suggest its own Lua API in auto-completion only if the current file (that is being edited) is located in Textadept's own directories, those are:
>
> 1. Textadept's installation/source directory.
> 2. Textadept's configuration directory at user's home.
>
> In all other cases the only available Lua API for auto-completion should be that of the standard PUC Lua.

I've committed a change[1] that I think does what you are suggesting. I don't think this change made it into tonight's nightly build, but it should show up in tomorrow's.

Cheers,
Mitchell

[1]: https://foicica.com/hg/textadept/rev/4dc9c7371099

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 07 Nov 2019 - 23:07:22 EST

This archive was generated by hypermail 2.2.0 : Fri 08 Nov 2019 - 06:32:06 EST