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

Support injections.scm #426

Closed
kirawi opened this issue Jul 6, 2021 · 1 comment · Fixed by #430
Closed

Support injections.scm #426

kirawi opened this issue Jul 6, 2021 · 1 comment · Fixed by #430
Labels
C-enhancement Category: Improvements

Comments

@kirawi
Copy link
Member

kirawi commented Jul 6, 2021

Seems like we have the queries, but we don't actually use them during the highlighting stage.

@kirawi kirawi added the C-enhancement Category: Improvements label Jul 6, 2021
@kirawi
Copy link
Member Author

kirawi commented Jul 7, 2021

For injections, we need to implement the injection callback:

.highlight_iter(text.slice(..), Some(range), None, |_| None)

@kirawi kirawi changed the title Support injections.scm and locals.scm Support injections.scm Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant