diff --git a/crates/ide/src/syntax_highlighting.rs b/crates/ide/src/syntax_highlighting.rs index 67a10766b27..9df8d21afcf 100644 --- a/crates/ide/src/syntax_highlighting.rs +++ b/crates/ide/src/syntax_highlighting.rs @@ -48,6 +48,9 @@ pub struct HlRange { // // The general rule is that a reference to an entity gets colored the same way as the entity itself. // We also give special modifier for `mut` and `&mut` local variables. +// +// image::https://user-images.githubusercontent.com/48062697/113164457-06cfb980-9239-11eb-819b-0f93e646acf8.png[] +// image::https://user-images.githubusercontent.com/48062697/113187625-f7f50100-9250-11eb-825e-91c58f236071.png[] pub(crate) fn highlight( db: &RootDatabase, file_id: FileId, diff --git a/crates/ide/src/typing.rs b/crates/ide/src/typing.rs index e10b7d98e33..11408d445ac 100644 --- a/crates/ide/src/typing.rs +++ b/crates/ide/src/typing.rs @@ -49,6 +49,9 @@ pub(crate) const TRIGGER_CHARS: &str = ".=>"; // ---- // "editor.formatOnType": true, // ---- +// +// image::https://user-images.githubusercontent.com/48062697/113166163-69758500-923a-11eb-81ee-eb33ec380399.gif[] +// image::https://user-images.githubusercontent.com/48062697/113171066-105c2000-923f-11eb-87ab-f4a263346567.gif[] pub(crate) fn on_char_typed( db: &RootDatabase, position: FilePosition,