helix
helix copied to clipboard
Incorrect highlighting of variables in Rust using captured identifiers in format strings

https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html#captured-identifiers-in-format-strings
AFAIK this is an upstream issue with tree-sitter-rust, as its grammar would need updating to support this. I asked about this same problem in the matrix forum a couple of weeks ago and after some investigation was pointed here: Support for format_args_capture feature #129. Unfortunately there's been no activity on it yet.