rust/crates
bors[bot] c544f9a137
Merge #4940
4940: Add support for marking doctest items as distinct from normal code r=ltentrup a=Nashenas88

This adds `HighlightTag::Generic | HighlightModifier::Injected` as the default highlight for all elements within a doctest. Please feel free to suggest that a new tag be created or a different one used.

![Screenshot from 2020-06-23 09-18-13](https://user-images.githubusercontent.com/1673130/85408493-9752ce00-b532-11ea-94fe-197353ccc778.png)

Fixes #4929 
Fixes #4939

Co-authored-by: Paul Daniel Faria <Nashenas88@users.noreply.github.com>
Co-authored-by: Paul Daniel Faria <nashenas88@users.noreply.github.com>
2020-06-24 05:22:23 +00:00
..
paths New VFS 2020-06-23 17:51:06 +02:00
ra_arena
ra_assists Use only one code-path for parsing fixtures 2020-06-24 00:48:38 +02:00
ra_cfg
ra_db Use only one code-path for parsing fixtures 2020-06-24 00:48:38 +02:00
ra_flycheck flycheck now uses the configured features 2020-06-09 21:47:54 +02:00
ra_fmt
ra_hir New VFS 2020-06-23 17:51:06 +02:00
ra_hir_def Use only one code-path for parsing fixtures 2020-06-24 00:48:38 +02:00
ra_hir_expand Don't guess macro expansion crate 2020-06-11 12:13:14 +02:00
ra_hir_ty Use only one code-path for parsing fixtures 2020-06-24 00:48:38 +02:00
ra_ide Merge #4940 2020-06-24 05:22:23 +00:00
ra_ide_db New VFS 2020-06-23 17:51:06 +02:00
ra_mbe
ra_parser Fix panic in split and merge import assists 2020-06-23 16:51:07 +03:00
ra_proc_macro
ra_proc_macro_srv Update test for new serde 2020-06-21 12:10:50 -04:00
ra_prof
ra_project_model New VFS 2020-06-23 17:51:06 +02:00
ra_ssr SSR: Allow matching of whole macro calls 2020-06-23 07:42:34 +10:00
ra_syntax Fix panic in split and merge import assists 2020-06-23 16:51:07 +03:00
ra_text_edit
ra_toolchain
ra_tt
rust-analyzer Merge #4940 2020-06-24 05:22:23 +00:00
stdx More principled indentation trimming in fixtures 2020-06-23 23:33:41 +02:00
test_utils Centralize fixture parsing for assists 2020-06-24 00:30:34 +02:00
vfs New VFS 2020-06-23 17:51:06 +02:00
vfs-notify New VFS 2020-06-23 17:51:06 +02:00