Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 008027d

Browse files
committed
Document that configuration options live in a "rust" object
It wasn't obvious to me where to place options for "didChangeConfiguration", so this could help others. VSCode adds the prefix automatically when editing settings.json but I didn't use that.
1 parent 5ba8427 commit 008027d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ Studio Code extension this will be done via the workspace settings file
9292

9393
Other editors will have their own way of sending the
9494
[workspace/DidChangeConfiguration](https://microsoft.github.io/language-server-protocol/specification#workspace_didChangeConfiguration)
95-
method.
95+
method. Options are nested in the `rust` object, so your server might send
96+
`{"settings":{"rust":{"unstable_features":true}}}` as parameters.
9697

9798
Entries in this file will affect how the RLS operates and how it builds your
9899
project.

0 commit comments

Comments
 (0)