Re: [code] Silly little templating snippets system

From: Mitchell <>
Date: Sat, 9 Jan 2016 11:31:37 -0500 (EST)

Hi Michael,

On Sun, 10 Jan 2016, Michael Richter wrote:

> I've come up with a really stupid little templating-based snippets system
> for Textadept. It works like this:
> [snip]
> Motivation:
> - I like Textadept's snippets a lot (simple, yet powerful), but I really
> don't like constantly fiddling with the Lua code in init.lua. Too many
> chances for totally screwing up my configuration.
> - Some of my "snippets" are pretty damned big. My Rexx module
> "snippet", for example, is 204 lines of error handling boilerplate. When
> this was in my init.lua it was a bear to navigate and find the specific
> snippets I was looking for.
> - It's easier to share snippets that aren't married to your
> idiosyncratic init.lua organization.

Thanks for sharing your idea! This idea may find its way into a future
release, as I like the idea of having the option to split snippets from
Lua code into the filesystem.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Sat 09 Jan 2016 - 11:31:37 EST

This archive was generated by hypermail 2.2.0 : Sun 10 Jan 2016 - 06:34:51 EST