[TxMt] Re: list of all file types for -t

Carpii UK carpii.uk at gmail.com
Mon Apr 22 22:17:28 UTC 2019


Ok, I think I understand the problem, but I don't know a solution, sorry.

My understanding is 'mate' is simply a wrapper which passes the parameters
to TextMate, which then loads all of its bundles, and only at this point
would it know what filetypes it has bundle handling for.
Maybe Allan will chip in with some workaround

Is there no way you could just identify the filetype before you start
piping it, and then pass that to textmate (and just assume it has handling
for it, otherwise it will default to text)?






On Mon, 22 Apr 2019 at 23:02, Dr Eberhard W Lisse <el at lisse.na> wrote:

> Yes, and no.
>
> I would like to know which (common) ones are possible, or how I can find
> that (which ones are installed/available) out, so that if I use "mate -"
> in a pipe I can "load" the required bundle and make use of its
> facilities without having to resort to selecting filetype with the
> mouse.
>
> Probably something of use to others as well.
>
> greetings, el
>
> On 2019-04-22 23:02 , Carpii UK wrote:
> > On Mon, 22 Apr 2019 at 22:00, Dr Eberhard W Lisse <el at lisse.na> wrote:
> >
> >> mate -h does not show any list of <filetypes>
> >>
> >
> > Yes sorry, I realised as soon as I'd sent it, that I'd misread your
> > question :(
> >
> > But list of supported filetypes, isn't that just going to be
> > determined by what bundles you have installed?
> [...]
>
> --
> Dr. Eberhard W. Lisse          / Obstetrician & Gynaecologist (Saar)
> el at lisse.NA            / *     |   Telephone: +264 81 124 6733 (cell)
> PO Box 8421                  /
> Bachbrecht, Namibia     ;____/
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> https://lists.macromates.com/listinfo/textmate
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20190422/68065006/attachment.html>


More information about the textmate mailing list