rust/crates/ra_ide
Leander Tentrup c4b3db0c2f Syntactic highlighting of NAME_REF for injections
This commit adds a function that tries to determine the syntax highlighting class of NAME_REFs based on the usage.
It is used for highlighting injections (such as highlighting of doctests) as the semantic logic will most of the time result in unresolved references.
It also adds a color to unresolved references in HTML encoding.
2020-06-15 22:13:53 +02:00
..
src Syntactic highlighting of NAME_REF for injections 2020-06-15 22:13:53 +02:00
Cargo.toml insta 0.16 2020-04-14 13:57:02 -04:00