diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-23 23:12:15 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-23 23:12:15 +0100 |
commit | 2fa942ad3057bac90869263963daf8b02651d3de (patch) | |
tree | a96931f7746e045f30e344101e0cec0b3a1eb5dd /crates/syntax/test_data/lexer/ok/0014_raw_ident.rs | |
parent | c483212f274e9a5e348451cd4bbd0487e172458b (diff) | |
parent | a35ff6edf44519cc3b07869d8e5754c607b913cd (diff) | |
parent | 0059188e77b4fa6f110785f7938dbfc35623fac8 (diff) |
Merge #6251 #6310
6251: Semantic Highlight: Add Callable modifier for variables r=matklad a=GrayJack
This PR added the `HighlightModifier::Callable` variant and assigned it to variables and parameters that are fn pointers, closures and implements FnOnce trait.
This allows to colorize these variables/parameters when used in call expression.
6310: Rewrite algo::diff to support insertion and deletion r=matklad a=Veykril
This in turn also makes `algo::diff` generate finer diffs(maybe even minimal diffs?) as insertions and deletions aren't always represented as as replacements of parent nodes now.
Required for #6287 to go on.
Co-authored-by: GrayJack <[email protected]>
Co-authored-by: Lukas Wirth <[email protected]>