aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/lexer/ok/0003_ident.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-06-08 13:26:33 +0100
committerGitHub <[email protected]>2020-06-08 13:26:33 +0100
commitdb36a25839be0a799be2a229b9fd0d45da57635b (patch)
treec6787e78879c7c2c86938e8d7c659fd756609ffd /crates/ra_syntax/test_data/lexer/ok/0003_ident.rs
parentab86f15ff2c237ac3f4237961e4484ae71cedf00 (diff)
parent4a2efb2f42494f62891ac801e0a27d246bd36684 (diff)
Merge #4683
4683: Implement syntax highlighting for doctests r=ltentrup a=ltentrup The implementation is more complicated than the previous injection logic as the doctest comments consist of multiple ranges. The implementation extracts the doctests together with an offset-mapping, applies the syntax highlighting, and updates the text ranges. <img width="478" alt="Bildschirmfoto 2020-06-01 um 15 45 25" src="https://user-images.githubusercontent.com/201808/83415249-1f0b5800-a41f-11ea-8fa6-c282434d6ff7.png"> Part of #4170. Co-authored-by: Leander Tentrup <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/lexer/ok/0003_ident.rs')
0 files changed, 0 insertions, 0 deletions