Re: [code] readme

From: Mitchell <m.att.foicica.com>
Date: Wed, 18 Mar 2020 11:16:45 -0400 (EDT)

Hi,

On Wed, 18 Mar 2020, Pascal wrote:

> hi,
> I use Thunar as a file explorer/manager and the "readme" files are nicely
> displayed with a big i for information : how can I get TA to treat it as a
> markdown file by default ?
> it works by adding the .md extension but breaks the display in thunar that
> I want to keep.

You can try putting the following in your *~/.textadept/init.lua*:

   textadept.file_types.extensions.readme = 'markdown'

If a file does not have an extension, its basename is used.

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 Wed 18 Mar 2020 - 11:16:45 EDT

This archive was generated by hypermail 2.2.0 : Thu 19 Mar 2020 - 06:37:28 EDT