On 7 January 2016 at 23:01, Martin Kühl martin.kuehl@gmail.com wrote:
On 7 January 2016 at 20:52, Mike McQuaid mike@mikemcquaid.com wrote:
This is the current state of my GitHub Markdown injection bundle: https://github.com/mikemcquaid/GitHub-Markdown.tmbundle/blob/fix-raw-markdow...
Thanks. It seems like an injection issue to me.
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.
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.
-Martin