From f1decfc1106fb25f5d36dfbd789370e5d59f251c Mon Sep 17 00:00:00 2001 From: Zac Pullar-Strecker Date: Thu, 3 Sep 2020 20:13:02 +1200 Subject: Fix send->sent typo --- docs/dev/lsp-extensions.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index 173c04a14..3f861f3e0 100644 --- a/docs/dev/lsp-extensions.md +++ b/docs/dev/lsp-extensions.md @@ -129,7 +129,7 @@ As a result of the command call the client will get the respective workspace edi **Server Capability:** `{ "parentModule": boolean }` -This request is send from client to server to handle "Goto Parent Module" editor action. +This request is sent from client to server to handle "Goto Parent Module" editor action. **Method:** `experimental/parentModule` @@ -163,7 +163,7 @@ mod foo; **Server Capability:** `{ "joinLines": boolean }` -This request is send from client to server to handle "Join Lines" editor action. +This request is sent from client to server to handle "Join Lines" editor action. **Method:** `experimental/joinLines` @@ -210,7 +210,7 @@ fn main() { **Server Capability:** `{ "onEnter": boolean }` -This request is send from client to server to handle Enter keypress. +This request is sent from client to server to handle Enter keypress. **Method:** `experimental/onEnter` @@ -261,7 +261,7 @@ As proper cursor positioning is raison-d'etat for `onEnter`, it uses `SnippetTex **Server Capability:** `{ "ssr": boolean }` -This request is send from client to server to handle structural search replace -- automated syntax tree based transformation of the source. +This request is sent from client to server to handle structural search replace -- automated syntax tree based transformation of the source. **Method:** `experimental/ssr` @@ -348,7 +348,7 @@ Moreover, it would be cool if editors didn't need to implement even basic langua **Server Capability:** `{ "runnables": { "kinds": string[] } }` -This request is send from client to server to get the list of things that can be run (tests, binaries, `cargo check -p`). +This request is sent from client to server to get the list of things that can be run (tests, binaries, `cargo check -p`). **Method:** `experimental/runnables` @@ -388,7 +388,7 @@ rust-analyzer supports only one `kind`, `"cargo"`. The `args` for `"cargo"` look ## Open External Documentation -This request is send from client to server to get a URL to documentation for the symbol under the cursor, if available. +This request is sent from client to server to get a URL to documentation for the symbol under the cursor, if available. **Method** `experimental/externalDocs` @@ -488,7 +488,7 @@ Expands macro call at a given position. **Method:** `rust-analyzer/inlayHints` -This request is send from client to server to render "inlay hints" -- virtual text inserted into editor to show things like inferred types. +This request is sent from client to server to render "inlay hints" -- virtual text inserted into editor to show things like inferred types. Generally, the client should re-query inlay hints after every modification. Note that we plan to move this request to `experimental/inlayHints`, as it is not really Rust-specific, but the current API is not necessary the right one. Upstream issue: https://github.com/microsoft/language-server-protocol/issues/956 -- cgit v1.2.3