about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-02-19 10:09:22 +0000
committerGitHub <noreply@github.com>2022-02-19 10:09:22 +0000
commit1d53f695f0408f47c5cce5cefa471eb0e86b0db7 (patch)
treef3499390218712c85aabd83ce3f5e3c0ab161fe3
parentacf5874b39f3dc5262317a6074d9fc7285081161 (diff)
parent2bcde5953a1740a960477d47aced8607f028b794 (diff)
downloadrust-1d53f695f0408f47c5cce5cefa471eb0e86b0db7.tar.gz
rust-1d53f695f0408f47c5cce5cefa471eb0e86b0db7.zip
Merge #11504
11504: Fix a typo in server_capabilities.experimental r=lnicola a=nemethf

Commit 27c4be6b4f68 wasn't really complex, but I still managed to make a mistake there, which this PR fixes.  Sorry.

Co-authored-by: Felicián Németh <felician.nemeth@gmail.com>
-rw-r--r--crates/rust-analyzer/src/caps.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/caps.rs b/crates/rust-analyzer/src/caps.rs
index a1acd543c5f..457399a6189 100644
--- a/crates/rust-analyzer/src/caps.rs
+++ b/crates/rust-analyzer/src/caps.rs
@@ -117,7 +117,7 @@ pub fn server_capabilities(config: &Config) -> ServerCapabilities {
             "hoverRange": true,
             "joinLines": true,
             "matchingBrace": true,
-            "moveItems": true,
+            "moveItem": true,
             "onEnter": true,
             "openCargoToml": true,
             "parentModule": true,