Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't start variable/template scope in a file #174

Open
RheingoldRiver opened this issue May 3, 2021 · 0 comments
Open

Can't start variable/template scope in a file #174

RheingoldRiver opened this issue May 3, 2021 · 0 comments

Comments

@RheingoldRiver
Copy link
Contributor

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

image

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant