[TxMt] Re: Trying to match triple-backticks

Mike McQuaid mike at mikemcquaid.com
Fri Jan 8 08:34:54 UTC 2016


> On 8 Jan 2016, at 08:18, Martin Kühl <martin.kuehl at gmail.com> wrote:
> 
> Thinking about this more, I believe this is a bug.
> The `L:` prefix seems to cause the injected begin matcher
> to match even before its own end matcher can,
> as you described.

Thanks Martin, that sorts it out for me. I don’t really understand why but it works so I’ll try to forget about it ;)

> The tmLanguage file Mike linked reproduces the problem,
> we can remove the first two patterns to further reduce it.
> Removing the `L:` prefix from injectionSelector fixes the problem.

I’ll leave the branch there for a while so people can take a look.

Thanks again!

Mike McQuaid
http://mikemcquaid.com



More information about the textmate mailing list