Unnamed repository; edit this file 'description' to name the repository.
fix: documentation of SsrParams
Fix #11429 by extending the documentation of SsrParms with the mandatory field 'selections'. Copy its description from lsp_ext.rs.
Felicián Németh 2022-02-12
parent 7a17fb9 · commit 7c7d699
-rw-r--r--docs/dev/lsp-extensions.md2
1 files changed, 2 insertions, 0 deletions
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[];
}
```