Re: [code][textadept] broken help link

From: Arnel <>
Date: Fri, 22 Apr 2016 00:24:53 +0800

On 21 April 2016 10:44AM, Gabriel Dubatti wrote:
> Hi Mitchell,
> I was trying to add a lexer I made for the ".mas" file extension (a
> macro assembly file) when I found this broken link:
> href="_M.textadept.file_types.html".
> BTW, how can I asociate the ".mas" extension with the lexer
> (~/.textadept/lexers/mas.lua) in my init.lua?
> I read the file_types doc but I didn't get it.

You can add the following to your 'init.lua':

   textadept.file_types.extensions.mas = 'macro_assembly'

Since you're working on a lexer for them, consider adding build/run commands as
well: = '<insert run command for MAS files here>' = '<insert build command here>

Thank you,
You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Thu 21 Apr 2016 - 12:24:53 EDT

This archive was generated by hypermail 2.2.0 : Fri 22 Apr 2016 - 06:52:15 EDT