diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-06-15 14:44:46 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-15 14:44:46 +0100 |
commit | 5b013e5665a34fd757fd6c48dc912606c0915b2c (patch) | |
tree | 413f268d2ba637089a84a91740d7599a0b611f49 /crates/ra_project_model/src/lib.rs | |
parent | d0ac2f746a7cd2282b2f672cd0a6650a8339b907 (diff) | |
parent | 06f89e5f3a00d91e84963745af989f1e9a906bb4 (diff) |
Merge #4877
4877: Fix syntax highlighting of recursive macros r=matklad a=ltentrup
Add syntax highlighting for the BANG (`!`) token if the parent is `MACRO_CALL`.
Before:
<img width="514" alt="before" src="https://user-images.githubusercontent.com/201808/84595030-11f65c00-ae56-11ea-9bb2-b1abe2236990.png">
After:
<img width="516" alt="recursive-macro" src="https://user-images.githubusercontent.com/201808/84594981-d196de00-ae55-11ea-8636-f877d5d795ff.png">
Fixes #4694.
Co-authored-by: Leander Tentrup <[email protected]>
Diffstat (limited to 'crates/ra_project_model/src/lib.rs')
0 files changed, 0 insertions, 0 deletions