diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/user/README.md | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/user/README.md b/docs/user/README.md index 9cdabfd42..a4b081dbb 100644 --- a/docs/user/README.md +++ b/docs/user/README.md | |||
@@ -87,8 +87,10 @@ host. | |||
87 | 87 | ||
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.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. | ||
92 | `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. |
93 | * `rust-analyzer.raLspServerPath`: path to `ra_lsp_server` executable | 95 | * `rust-analyzer.raLspServerPath`: path to `ra_lsp_server` executable |
94 | * `rust-analyzer.enableCargoWatchOnStartup`: prompt to install & enable `cargo | 96 | * `rust-analyzer.enableCargoWatchOnStartup`: prompt to install & enable `cargo |
@@ -106,7 +108,7 @@ host. | |||
106 | * `rust-analyzer.trace.cargo-watch`: enables cargo-watch logging | 108 | * `rust-analyzer.trace.cargo-watch`: enables cargo-watch logging |
107 | * `RUST_SRC_PATH`: environment variable that overwrites the sysroot | 109 | * `RUST_SRC_PATH`: environment variable that overwrites the sysroot |
108 | * `rust-analyzer.featureFlags` -- a JSON object to tweak fine-grained behavior: | 110 | * `rust-analyzer.featureFlags` -- a JSON object to tweak fine-grained behavior: |
109 | ```js | 111 | ```jsonc |
110 | { | 112 | { |
111 | // Show diagnostics produced by rust-analyzer itself. | 113 | // Show diagnostics produced by rust-analyzer itself. |
112 | "lsp.diagnostics": true, | 114 | "lsp.diagnostics": true, |