diff options
| author | Felicián Németh <felician.nemeth@gmail.com> | 2022-02-12 15:47:54 +0100 |
|---|---|---|
| committer | Felicián Németh <felician.nemeth@gmail.com> | 2022-02-12 15:47:54 +0100 |
| commit | 7c7d6991dd78e5bde2cae7c1f4ecf8b917d8df8f (patch) | |
| tree | 1dfba87aca0ea00d1509ace82ab664bd91c61986 /docs/dev | |
| parent | 7a17fb9c43b2cd0a8a2ff3d93b9d436fa28153d6 (diff) | |
| download | rust-7c7d6991dd78e5bde2cae7c1f4ecf8b917d8df8f.tar.gz rust-7c7d6991dd78e5bde2cae7c1f4ecf8b917d8df8f.zip | |
fix: documentation of SsrParams
Fix #11429 by extending the documentation of SsrParms with the mandatory field 'selections'. Copy its description from lsp_ext.rs.
Diffstat (limited to 'docs/dev')
| -rw-r--r-- | docs/dev/lsp-extensions.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index adea925b51e..85df1188a8a 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[]; } ``` |
