Highlight for Rust string interpolation macros #5845
Labels
A-language-support
Area: Support for programming/text languages
C-enhancement
Category: Improvements
upstream
String literals in macros, which allow interpolation (println!, write!, panic!, etc.) could be highlighted similar to Python format strings.
Example for Rust (using injection of svelte):
Possible solution is to write small separate tree-sitter grammar for this case (maybe I will do that later...)
The text was updated successfully, but these errors were encountered: