Re: [code] Shared objects

From: Mitchell <m.att.foicica.com>
Date: Thu, 5 Apr 2012 14:36:03 -0400 (Eastern Daylight Time)

Hi Anton,

On Wed, 4 Apr 2012, Verbitsky Anton wrote:

> I have yet another strange problem:
>
> I copied init.lua from modules "/modules/textadept/"
> into my ".textadept/" folder and added
> at the beginning
>
> package.path = table.concat({
> _USERHOME..'/modules/anton/spellchecker/init.lua',
> package.path
> }, ';');
>
>
> I didn't do anything else.
> Now, every time a press a button I get
> /home/anton/TextAdept/core/keys.lua:248: attempt to call method 'get_lexer' (a nil value)
>
> Did I do something remarkably foolish?

Is _M.textadept.mime_types.lua getting loaded? Buffer tables get their
'get_lexer' function from the mime_types module.

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.
Received on Thu 05 Apr 2012 - 14:36:03 EDT

This archive was generated by hypermail 2.2.0 : Fri 06 Apr 2012 - 06:45:34 EDT