Re: [textadept] Re: Poll on language modules

From: Brian Schott <>
Date: Sun, 06 Mar 2011 02:25:44 -0800

This was easy:

events.connect("language_module_loaded", function(lang)
    if lfs.attributes(_USERHOME.."/modules/"..lang.."/user_init.lua") then

Then add something like this to the user_init.lua file:["test"] = [[This is a test]]

I'm not too attached to the name 'user_init.lua', but I think this kind
of functionality could be useful in the default install.
Received on Sun 06 Mar 2011 - 05:25:44 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:00:58 EST