yew-highlighting icon indicating copy to clipboard operation
yew-highlighting copied to clipboard

Rust code inside `html!` macro not highlighted properly

Open dxrcy opened this issue 2 years ago • 0 comments

Rust code, contained within the html! macro, is not highlighted with the rust-analyzer extension, but plaintext. Bracket pairs are still correctly highlighted as shown.

While enabled (html is highlighted, but not Rust): Example, Enabled

While disabled (Rust is highlighted): Example, Disabled

I am using the latest version of this extension, with a simple Yew app, on Windows 10.

PS. This extension is otherwise great and very convenient.

dxrcy avatar Sep 21 '22 07:09 dxrcy