Re: [code] [textadept] Language specific settings

From: Mitchell <>
Date: Tue, 18 Mar 2014 09:24:57 -0400 (Eastern Daylight Time)

Hi Rob,

On Fri, 21 Feb 2014, Rob Kendrick wrote:

> On Tue, Jan 28, 2014 at 02:05:44PM -0500, Mitchell wrote:
>>> In such a thing, I believe it might be desirable to allow the
>>> configuration of indentation rules not just based on lexer in use, but
>>> path, as not all projects follow the same.
>> I cannot imagine what a framework for this would look like... ideas?
> I had a spare ten minutes this afternoon, and I hacked together the
> following. In ~/.textadept/properties.lua I have:
> [snip]
> And so on. Comments and improvements welcome, this is a first-cut hack!

It's a cute little DSL and gives me some ideas if I were to take the
plunge and try to implement something similar. In the meantime, this looks
like wiki material! Thanks for sharing :)


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Tue 18 Mar 2014 - 09:24:57 EDT

This archive was generated by hypermail 2.2.0 : Wed 19 Mar 2014 - 06:39:33 EDT