diff options
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/src/lsp_ext.ts | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/editors/code/src/lsp_ext.ts b/editors/code/src/lsp_ext.ts index 569e747bd..562804715 100644 --- a/editors/code/src/lsp_ext.ts +++ b/editors/code/src/lsp_ext.ts | |||
@@ -119,13 +119,4 @@ export interface CommandLinkGroup { | |||
119 | commands: CommandLink[]; | 119 | commands: CommandLink[]; |
120 | } | 120 | } |
121 | 121 | ||
122 | export interface DocumentationLink { | 122 | export const openDocs = new lc.RequestType<lc.TextDocumentPositionParams, String | void, void>('experimental/externalDocs'); |
123 | remote: string; | ||
124 | } | ||
125 | |||
126 | export interface OpenDocsParams { | ||
127 | textDocument: lc.TextDocumentIdentifier; | ||
128 | position: lc.Position; | ||
129 | } | ||
130 | |||
131 | export const openDocs = new lc.RequestType<OpenDocsParams, DocumentationLink, void>('rust-analyzer/openDocs'); | ||