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

[json] Can't find/use tmLanguage scope "source.json" #286

Closed
rodrigobahiense opened this issue Nov 19, 2015 · 1 comment
Closed

[json] Can't find/use tmLanguage scope "source.json" #286

rodrigobahiense opened this issue Nov 19, 2015 · 1 comment
Assignees
Milestone

Comments

@rodrigobahiense
Copy link

I've installed the Asciidoc extension (https://marketplace.visualstudio.com/items/justusadam.language-asciidoc) but can't get syntax highlighting on [source,json] blocks.

Analysing the ".tmLanguage" file I've tested switching "source.json" with "source.js" and it worked as expected (for javascript), however the syntax is not the one expected for json (like in .md files):

Before change:
image

After change:
image

Expected:
image

I've also looked for "source.json" scopeName in all files of this repository (Branch: master) but couldn't find it.

Thanks in advance for your attention. =)

@aeschli
Copy link
Contributor

aeschli commented Nov 24, 2015

We don't use text mate to colorize JSON yet, that's why you didn't find it.

I now added the JSON text mate grammar so your reference should work.

@aeschli aeschli closed this as completed Nov 24, 2015
@aeschli aeschli added this to the Dec 2015 milestone Nov 24, 2015
@aeschli aeschli changed the title Can't find/use tmLanguage scope "source.json" [json] Can't find/use tmLanguage scope "source.json" Nov 24, 2015
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants