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

Add highlights.scm #23

Open
ikatyang opened this issue Jan 24, 2021 · 3 comments
Open

Add highlights.scm #23

ikatyang opened this issue Jan 24, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@ikatyang
Copy link
Owner

Context: #19 (comment)

@ikatyang ikatyang added the enhancement New feature or request label Jan 24, 2021
@kkharji
Copy link

kkharji commented Jan 24, 2021

🤩🤩

@b3nj5m1n
Copy link

Afaik, injections.scm is also universal to all tree-sitter implementations, and since Markdown's fenced code blocks are quite important I think it would make sense to also include this file in this repository.

There is already one in the nvim-treesitter plugin, see here, however this is specific to neovim. See this issue for a little more context.

@ikatyang
Copy link
Owner Author

ikatyang commented Jan 24, 2021

Ref: https://tree-sitter.github.io/tree-sitter/syntax-highlighting

There are 3 officially supported queries: highlights.scm, locals.scm, injections.scm.

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

No branches or pull requests

3 participants