]> git.lizzy.rs Git - rust.git/commit
Merge #5885
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Wed, 26 Aug 2020 13:07:06 +0000 (13:07 +0000)
committerGitHub <noreply@github.com>
Wed, 26 Aug 2020 13:07:06 +0000 (13:07 +0000)
commitd58a3a277a1778ec33e492e958b52869510c1239
tree101d27b02d5671aa6bd9f242be26281f13350f6c
parentad60b4e6ea1cbbb4c611f56833af90b43c4a5a3e
parent5b9a882edc20810641cb774240e5089e87dab82e
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 <veetaha2@gmail.com>
docs/user/manual.adoc