From 88fe03dfa9e38aeba21d6fd11a37bcab88eaadad Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 14 Feb 2021 18:23:16 +0300 Subject: [PATCH] document offsets --- crates/rust-analyzer/src/caps.rs | 2 ++ docs/dev/lsp-extensions.md | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/crates/rust-analyzer/src/caps.rs b/crates/rust-analyzer/src/caps.rs index aa48c455cbd6..2d6b286e5426 100644 --- a/crates/rust-analyzer/src/caps.rs +++ b/crates/rust-analyzer/src/caps.rs @@ -37,6 +37,8 @@ pub fn server_capabilities(client_caps: &ClientCapabilities) -> ServerCapabiliti all_commit_characters: None, completion_item: None, work_done_progress_options: WorkDoneProgressOptions { work_done_progress: None }, + all_commit_characters: None, + completion_item: None, }), signature_help_provider: Some(SignatureHelpOptions { trigger_characters: Some(vec!["(".to_string(), ",".to_string()]), diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index a4e1087244f3..164c8482e2e3 100644 --- a/docs/dev/lsp-extensions.md +++ b/docs/dev/lsp-extensions.md @@ -1,5 +1,5 @@