Re: [code] buffer:set_theme does not work

From: Mitchell <>
Date: Sun, 8 Apr 2018 10:54:59 -0400 (EDT)

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.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Sun 08 Apr 2018 - 10:54:59 EDT

This archive was generated by hypermail 2.2.0 : Mon 09 Apr 2018 - 06:46:12 EDT