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

Rust yew html! macro support #4466

Closed
kwinso opened this issue Oct 25, 2022 · 2 comments · Fixed by #8603
Closed

Rust yew html! macro support #4466

kwinso opened this issue Oct 25, 2022 · 2 comments · Fixed by #8603
Labels
A-tree-sitter Area: Tree-sitter C-enhancement Category: Improvements E-easy Call for participation: Experience needed to fix: Easy / not much

Comments

@kwinso
Copy link

kwinso commented Oct 25, 2022

Highlighting html! macro from yew crate is quite inconsistent now.

@kwinso kwinso added the C-enhancement Category: Improvements label Oct 25, 2022
@the-mikedavis the-mikedavis added E-easy Call for participation: Experience needed to fix: Easy / not much A-tree-sitter Area: Tree-sitter labels Oct 25, 2022
@areux
Copy link
Contributor

areux commented May 25, 2023

Is there a workaround for this?
This isn't a helix problem but there has to be a way of dealing with embedded languages, no?

@archseer
Copy link
Member

The proper fix is to add an injection query for it, it should be pretty easy to follow the other examples (sqlx injection etc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tree-sitter Area: Tree-sitter C-enhancement Category: Improvements E-easy Call for participation: Experience needed to fix: Easy / not much
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants