You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update: It looks like my editor is actually capable of rendering it somewhat correctly.
Here is a screenshot of what it looks like right now:
Before, when I created the issue, all the text in the html!-tag was just red, which really did not work well. Now there are still some issues, but at least basic highlighting seems to "just work"?
Edit: This is what "all red" looks like, guess my editor is not deterministic :(
Ah, it seems to be specifically treesitter in my case. If I disable it, I get mostly the syntax highlighting from the first image.
Usually I use ":TSDisable highlight indent", which fixes the issue.
It seems that treesitter (and cargo fmt) has some issues with macros in general (rust-lang/rustfmt#8)
Hi!
More a question, but does anybody have syntax highlighting and/or formatting for
html! {}
-blocks inside a Rust-file configured?Using neovim, but any pointers would be cool! :)
The text was updated successfully, but these errors were encountered: