Re: [code] I need help adding a language-specific snippet

From: Russell Dickenson <russelldickenson.att.gmail.com>
Date: Mon, 6 May 2013 13:44:50 +1000

Mitchell,

Thankyou!

Apologies for tackling this in such a noob fashion! :( I will make the
necessary changes then move on to bigger and better things. I'm sure
everyone on this ML will be excited! :P

On 6 May 2013 13:27, Mitchell <m.att.foicica.com> wrote:

> Russell,
>
> On Mon, 6 May 2013, Russell Dickenson wrote:
>
> [snip]
>>
>> I renamed my post_init.lua file init.lua but after restarting Textadept
>> and
>> opening an XML file I got the following error message:
>>
>> /home/rdickens/.textadept/**modules/xml/init.lua:1: attempt to index
>> field
>> 'xml' (a nil value)
>>
>
> The snippets.xml table has not been defined yet so you have to do it
> manually:
>
> snippets.xml = {
> ['hi'] = 'hello there'
> }
>
> or
>
> snippets.xml = {}
>
> snippets.xml['hi'] = 'hello there'
>
> Cheers,
> Mitchell
>
> --
> 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.
>
>

-- 
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 Sun 05 May 2013 - 23:44:50 EDT

This archive was generated by hypermail 2.2.0 : Mon 06 May 2013 - 06:34:08 EDT