Re: [code] Where can I put a function that keys poping up in my config files?

From: Robert Gieseke <rob.g.att.web.de>
Date: Thu, 9 Feb 2017 20:08:38 +0100

Hi Pedro,

there has emerged a tradition of calling a module with shared Textadept
functionality `common`, but any name (`shared`, `util`?) would do, mine
is here:

https://github.com/rgieseke/ta-common

In your language modules you could load this module and re-use functions.

Cheers,
Robert

Am 09/02/17 um 19:43 schrieb Pedro Andres Aranda Gutierrez:
> Hi,
>
> My ~/.textadept/modules/*/init.lua files have many instances of the same
> functions popping up inside the modules. Since I'm far from being a Lua
> expert, I'd like to know where I can put those common functions and how
> to reference them from my init.lua files.
>
> Thanks a ton, /PA
>
> --
> Fragen sind nicht da um beantwortet zu werden,
> Fragen sind da um gestellet zu werden
> Georg Kreisler

-- 
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 09 Feb 2017 - 14:08:38 EST

This archive was generated by hypermail 2.2.0 : Fri 10 Feb 2017 - 06:48:53 EST