From 7c7d6991dd78e5bde2cae7c1f4ecf8b917d8df8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felici=C3=A1n=20N=C3=A9meth?= Date: Sat, 12 Feb 2022 15:47:54 +0100 Subject: [PATCH] fix: documentation of SsrParams Fix #11429 by extending the documentation of SsrParms with the mandatory field 'selections'. Copy its description from lsp_ext.rs. --- docs/dev/lsp-extensions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index adea925b51..85df1188a8 100644 --- a/docs/dev/lsp-extensions.md +++ b/docs/dev/lsp-extensions.md @@ -278,6 +278,8 @@ interface SsrParams { textDocument: TextDocumentIdentifier; /// Position where SSR was invoked. position: Position; + /// Current selections. Search/replace will be restricted to these if non-empty. + selections: Range[]; } ```