diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/README.md | 13 |
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 |