Re: [code] buffer:set_theme does not work

From: Milind Gupta <milind.gupta.att.gmail.com>
Date: Mon, 9 Apr 2018 10:51:55 -0700

Hi Mitchell,
     I have that command in my init.lua already and that is why reset works
because it already knew I had set the theme. But it does not load it
automatically. I am using textadept on Windows 7.

Thanks,
Milind

On Sun, Apr 8, 2018 at 7:54 AM, Mitchell <m.att.foicica.com> wrote:

> Hi Milind,
>
> On Sun, 8 Apr 2018, Milind Gupta wrote:
>
> Hi,
>> If I give the path to the theme file like dark.lua like:
>>
>> buffer:set_theme("Path/To/dark.lua")
>>
>> it does not get loaded automatically. But after opening a file if I do
>> reset in the command entry then I see it applied. Is there something I am
>> missing here? On opening another file in another tab its the same thing.
>> For the theme to be applied I need to do reset after opening the file.
>>
>
> If you want a theme setting to persist, put that `buffer:set_theme(...)`
> call in your *~/.textadept/init.lua* file.
>
> 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 Mon 09 Apr 2018 - 13:51:55 EDT

This archive was generated by hypermail 2.2.0 : Tue 10 Apr 2018 - 06:47:49 EDT