Can't start variable/template scope in a file
Opened this issue · 0 comments
RheingoldRiver commented
In the following screenshot, I think the scope should be something like:
text.html.mediawiki meta.image.wiki.mediawiki meta.template.mediawiki entity.name.function.template.mediawiki
but instead it's just:
text.html.mediawiki meta.image.wiki.mediawiki constant.other.wiki-link.image.mediawiki
This has the issue that the highlighting of the pipe to create the optional parameter messes up the rest of the closing braces and file name.
Here's the text used to generate:
[[File:{{{5FullName|}}} Full Art.png|400px]]
And here's the scope of the pipe:
text.html.mediawiki meta.image.wiki.mediawiki string.other.image.caption.mediawiki punctuation.definition.tag.caption-pipe.mediawiki
I tried looking into seeing if I could figure out how to fix this myself but I got super lost super quickly so instead I'm just making a ticket, hopefully the details somewhat helpful!