diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-05-13 16:43:32 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-13 16:43:32 +0100 |
commit | c07050e2753a78e6975a6b78645970c18d7365b3 (patch) | |
tree | dc582c255dbaa807af1572e997196e8dadfd0bd8 /crates/ra_hir_def/src/src.rs | |
parent | 88d3959c33c3b8729cecbe062cff8474516df29f (diff) | |
parent | 6222f2b7096531cc8501044cdc7b6b5fb07e331b (diff) |
Merge #4400
4400: Enhanced coloring r=georgewfraser a=georgewfraser
This PR builds on #4397 to enhance the existing syntax coloring.
## Underline mutable variables
The textmate scope `markup.underline` underlines identifiers, which is a nice way to make mutable vars stand out:
<img width="327" alt="Screen Shot 2020-05-09 at 1 18 55 PM" src="https://user-images.githubusercontent.com/1369240/81484179-8bb47d80-91f8-11ea-997d-1dcffbe44aa7.png">
## Italicize static variables
The textmate scope `markup.italic` italicizes identifiers. Italic = static is a common convention in IDEs like IntelliJ:
<img width="288" alt="Screen Shot 2020-05-09 at 1 19 14 PM" src="https://user-images.githubusercontent.com/1369240/81484236-cd452880-91f8-11ea-8478-505ee49bc8b3.png">
Co-authored-by: George Fraser <[email protected]>
Diffstat (limited to 'crates/ra_hir_def/src/src.rs')
0 files changed, 0 insertions, 0 deletions