aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/snapshots/highlight_injection.html
Commit message (Collapse)AuthorAgeFilesLines
* Syntactic highlighting of NAME_REF for injectionsLeander Tentrup2020-06-151-0/+1
| | | | | | 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.
* Better unsafe highlihgting testsAleksey Kladov2020-06-081-1/+2
|
* Add highlight support for unsafe fn calls and raw ptr derefPaul Daniel Faria2020-06-021-0/+1
|
* Highlight `true` and `false` as literalsMatthew Jasper2020-05-241-0/+1
|
* Introduce new semantic highlight token for format specifierLeander Tentrup2020-04-281-0/+1
|
* Simplify HTML highlighter and add test case for highlight_injection logicLeander Tentrup2020-04-061-0/+39