Re: [code] Feature request: post_init.lua for themes

From: Robert <>
Date: Thu, 9 May 2013 14:35:37 +0200

On Thu, May 9, 2013 at 2:16 PM, Michael Richter <> wrote:
> I want to use a theme, but I want to change the font. The current process
> is to copy all the theme files into my local ~/.textadept hierarchy and edit
> them there. This means that if they change in a future version that I have
> to merge in any changes.
> What I'd really like to see is a post_init.lua file for themes that allows
> me to make overriding changes without modifying the default themes. Is this
> doable or is there some kind of technical reason preventing this?

I use something like this:
(You can put something similar in your 'init.lua' or somewhere else,
it is not dependent on the rest of the module.)

I'm not sure if the colors and fonts set in a theme's 'lexer.lua' can
be changed similarly.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Thu 09 May 2013 - 08:35:37 EDT

This archive was generated by hypermail 2.2.0 : Fri 10 May 2013 - 06:28:58 EDT