diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-08-26 14:07:06 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-26 14:07:06 +0100 |
commit | d58a3a277a1778ec33e492e958b52869510c1239 (patch) | |
tree | 101d27b02d5671aa6bd9f242be26281f13350f6c /crates/hir/src/semantics.rs | |
parent | ad60b4e6ea1cbbb4c611f56833af90b43c4a5a3e (diff) | |
parent | 5b9a882edc20810641cb774240e5089e87dab82e (diff) |
Merge #5885
5885: Make inlay hints colors more configurable r=matklad a=Veetaha
**[BREAKING CHANGE]**
Tackles https://github.com/rust-analyzer/rust-analyzer/issues/5337#issuecomment-680018601 and generally related to #5337.
Added `foreground/background` color configurations with optional more specific overrides `foreground.(type|parameter|chaining)Hints`.
One problem I see is that the config keys are long and don't fit into the on-hover hints in the `settings.json` file entirely...
<details>
<summary>Demo</summary>
![demo](https://user-images.githubusercontent.com/36276403/91238334-77fc3b00-e745-11ea-836b-2822015ece98.gif)
</details>
Co-authored-by: Veetaha <[email protected]>
Diffstat (limited to 'crates/hir/src/semantics.rs')
0 files changed, 0 insertions, 0 deletions