Skip to content

Commit 6896ffa

Browse files
bors[bot]matklad
andauthored
Merge #2704
2704: Add example of color customization r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2 parents 6c74033 + ffa928c commit 6896ffa

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

docs/user/README.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -88,16 +88,9 @@ host.
8888
### Settings
8989

9090
* `rust-analyzer.highlightingOn`: enables experimental syntax highlighting.
91-
* `rust-analyzer.scopeMappings` -- a scheme backed JSON object to tweak Rust Analyzer scopes to TextMate scopes.
92-
```jsonc
93-
{
94-
//Will autocomplete keys to available RA scopes.
95-
"keyword.unsafe": ["keyword", "keyword.control"],
96-
//Values are string | TextMateScope | [string | TextMateScope]
97-
"variable.mut": "variable"
98-
}
99-
```
100-
* `rust-analyzer.enableEnhancedTyping`: by default, rust-analyzer intercepts
91+
Colors can be configured via `editor.tokenColorCustomizations`.
92+
As an example, [Pale Fire](https://github.com/matklad/pale-fire/) color scheme tweaks rust colors.
93+
* `rust-analyzer.enableEnhancedTyping`: by default, rust-analyzer intercepts.
10194
`Enter` key to make it easier to continue comments. Note that it may conflict with VIM emulation plugin.
10295
* `rust-analyzer.raLspServerPath`: path to `ra_lsp_server` executable
10396
* `rust-analyzer.enableCargoWatchOnStartup`: prompt to install & enable `cargo

0 commit comments

Comments
 (0)