aboutsummaryrefslogtreecommitdiff
path: root/docs/user
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-12-31 13:52:00 +0000
committerGitHub <[email protected]>2019-12-31 13:52:00 +0000
commit6896ffab60bf4c277bebcd0bb35010e7d224b603 (patch)
tree621b2f5ad5d874e741ed748e89700223060da9d8 /docs/user
parent6c74033c608b3d7f6ded4fa98f7e7b7d82616e49 (diff)
parentffa928c3d52a5912e09af09e3fcff52756964086 (diff)
Merge #2704
2704: Add example of color customization r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'docs/user')
-rw-r--r--docs/user/README.md13
1 files changed, 3 insertions, 10 deletions
diff --git a/docs/user/README.md b/docs/user/README.md
index 968d2e34c..a4b081dbb 100644
--- a/docs/user/README.md
+++ b/docs/user/README.md
@@ -88,16 +88,9 @@ host.
88### Settings 88### Settings
89 89
90* `rust-analyzer.highlightingOn`: enables experimental syntax highlighting. 90* `rust-analyzer.highlightingOn`: enables experimental syntax highlighting.
91* `rust-analyzer.scopeMappings` -- a scheme backed JSON object to tweak Rust Analyzer scopes to TextMate scopes. 91 Colors can be configured via `editor.tokenColorCustomizations`.
92 ```jsonc 92 As an example, [Pale Fire](https://github.com/matklad/pale-fire/) color scheme tweaks rust colors.
93 { 93* `rust-analyzer.enableEnhancedTyping`: by default, rust-analyzer intercepts.
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
101 `Enter` key to make it easier to continue comments. Note that it may conflict with VIM emulation plugin. 94 `Enter` key to make it easier to continue comments. Note that it may conflict with VIM emulation plugin.
102* `rust-analyzer.raLspServerPath`: path to `ra_lsp_server` executable 95* `rust-analyzer.raLspServerPath`: path to `ra_lsp_server` executable
103* `rust-analyzer.enableCargoWatchOnStartup`: prompt to install & enable `cargo 96* `rust-analyzer.enableCargoWatchOnStartup`: prompt to install & enable `cargo