aboutsummaryrefslogtreecommitdiff
path: root/docs/user/readme.adoc
diff options
context:
space:
mode:
authorBenjamin Coenen <[email protected]>2020-04-09 08:39:17 +0100
committerBenjamin Coenen <[email protected]>2020-04-09 08:53:53 +0100
commit585bb83e2aec9c79dae8c2e031e9165f40937003 (patch)
tree3dda062f3deb768b211e7e091dd5b29b9b6fae84 /docs/user/readme.adoc
parent8f1dba6f9ae1d8d314dd9d007e4c582ed1403e8d (diff)
parent080c983498afcac3eb54028af5c9f8bfe7f2c826 (diff)
feat: add attributes support on struct fields and method #3870
Signed-off-by: Benjamin Coenen <[email protected]>
Diffstat (limited to 'docs/user/readme.adoc')
-rw-r--r--docs/user/readme.adoc25
1 files changed, 1 insertions, 24 deletions
diff --git a/docs/user/readme.adoc b/docs/user/readme.adoc
index 911163eb7..abd126340 100644
--- a/docs/user/readme.adoc
+++ b/docs/user/readme.adoc
@@ -187,30 +187,7 @@ Prerequisites:
187 187
188`LSP` package. 188`LSP` package.
189 189
190Installation: 190Invoke the command palette (`ctrl+shift+p`) and type LSP enable to locally/globally enable the rust-analyzer LSP (type LSP enable, then choose either locally or globally, then select rust-analyzer)
191
1921. Invoke the command palette with <kbd>Ctrl+Shift+P</kbd>
1932. Type `LSP Settings` to open the LSP preferences editor
1943. Add the following LSP client definition to your settings:
195+
196[source,json]
197----
198"rust-analyzer": {
199 "command": ["rust-analyzer"],
200 "languageId": "rust",
201 "scopes": ["source.rust"],
202 "syntaxes": [
203 "Packages/Rust/Rust.sublime-syntax",
204 "Packages/Rust Enhanced/RustEnhanced.sublime-syntax"
205 ],
206 "initializationOptions": {
207 "featureFlags": {
208 }
209 },
210}
211----
212
2134. You can now invoke the command palette and type LSP enable to locally/globally enable the rust-analyzer LSP (type LSP enable, then choose either locally or globally, then select rust-analyzer)
214 191
215== Usage 192== Usage
216 193