Re: [code] Feature request

From: Mitchell <m.att.foicica.com>
Date: Sat, 20 Jan 2018 09:44:41 -0500 (EST)

Hi Pedro,

On Sat, 20 Jan 2018, Pedro Andres Aranda Gutierrez wrote:

> Hi folks,
>
> I think I have a feature request.
>
> Currently, the lexer is selected based on shebang or file extension. What
> about including the possibility to select the lexer basedon the full file
> name? Example:
> the special format of the debian/changelog files (I have created a mini
> lexer that checks that everything is in place..
>
> But I'm sure there will be other examples around

This already exists. Just use the full filename in place of an extension (e.g. "Makefile"). Textadept looks for anything after a '.', but the '.' is actually optional.

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.
Received on Sat 20 Jan 2018 - 09:44:41 EST

This archive was generated by hypermail 2.2.0 : Sun 21 Jan 2018 - 06:35:19 EST