diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-02-13 12:35:11 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-13 12:35:11 +0000 |
| commit | e1acbd08cab164de2d6abacde2f8a4d6c5947274 (patch) | |
| tree | 898ab306533d41021787ae4caa4100564dffb3a7 | |
| parent | 7a17fb9c43b2cd0a8a2ff3d93b9d436fa28153d6 (diff) | |
| parent | 27c4be6b4f6865fcc369f2abff2b4e018c26423b (diff) | |
| download | rust-e1acbd08cab164de2d6abacde2f8a4d6c5947274.tar.gz rust-e1acbd08cab164de2d6abacde2f8a4d6c5947274.zip | |
Merge #11459
11459: fix: add missing experimental capabilities r=Veykril a=nemethf Fix #11389 by extending server_capabilities.experimental with matchingBrace, externalDocs, moveItems. Also, sort entries alphabetically. Co-authored-by: Felicián Németh <felician.nemeth@gmail.com>
| -rw-r--r-- | crates/rust-analyzer/src/caps.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/crates/rust-analyzer/src/caps.rs b/crates/rust-analyzer/src/caps.rs index 648f6aeebe7..a1acd543c5f 100644 --- a/crates/rust-analyzer/src/caps.rs +++ b/crates/rust-analyzer/src/caps.rs @@ -113,15 +113,18 @@ pub fn server_capabilities(config: &Config) -> ServerCapabilities { ), moniker_provider: None, experimental: Some(json!({ + "externalDocs": true, + "hoverRange": true, "joinLines": true, - "openCargoToml": true, - "ssr": true, + "matchingBrace": true, + "moveItems": true, "onEnter": true, + "openCargoToml": true, "parentModule": true, - "hoverRange": true, "runnables": { "kinds": [ "cargo" ], }, + "ssr": true, "workspaceSymbolScopeKindFiltering": true, })), } |
