diff options
author | Anatol Liu <[email protected]> | 2020-11-13 01:48:07 +0000 |
---|---|---|
committer | Anatol Liu <[email protected]> | 2020-11-13 01:48:07 +0000 |
commit | b1b7727e046b4b25dcca034ee767a7fc3238409d (patch) | |
tree | c1942b7af1e73b139d2c62d1d81e8d6749dc8cd2 /editors/code/src/lsp_ext.ts | |
parent | 111cc34c8f181315f4dcfa85c616d54d47eff0b9 (diff) |
add open Cargo.toml action
Diffstat (limited to 'editors/code/src/lsp_ext.ts')
-rw-r--r-- | editors/code/src/lsp_ext.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/editors/code/src/lsp_ext.ts b/editors/code/src/lsp_ext.ts index d320c3cd7..5e877ce65 100644 --- a/editors/code/src/lsp_ext.ts +++ b/editors/code/src/lsp_ext.ts | |||
@@ -114,3 +114,9 @@ export interface CommandLinkGroup { | |||
114 | } | 114 | } |
115 | 115 | ||
116 | export const openDocs = new lc.RequestType<lc.TextDocumentPositionParams, string | void, void>('experimental/externalDocs'); | 116 | export const openDocs = new lc.RequestType<lc.TextDocumentPositionParams, string | void, void>('experimental/externalDocs'); |
117 | |||
118 | export const openCargoToml = new lc.RequestType<OpenCargoTomlParams, lc.Location, void>("experimental/openCargoToml"); | ||
119 | |||
120 | export interface OpenCargoTomlParams { | ||
121 | textDocument: lc.TextDocumentIdentifier; | ||
122 | } | ||