diff options
author | Jonas Schievink <[email protected]> | 2021-04-13 19:32:45 +0100 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2021-04-13 23:03:04 +0100 |
commit | 30aae2cefb9d068055ca8d250d04a288e3684394 (patch) | |
tree | 081a70d030c79437074e2d5ba15f7a9efd5d01cf /editors/code/src/lsp_ext.ts | |
parent | 10a243ea55565a0dd1de52f8f802c3e3a7bfef54 (diff) |
Move cursor position when using item movers
Diffstat (limited to 'editors/code/src/lsp_ext.ts')
-rw-r--r-- | editors/code/src/lsp_ext.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/lsp_ext.ts b/editors/code/src/lsp_ext.ts index e453bb9e0..f78de894b 100644 --- a/editors/code/src/lsp_ext.ts +++ b/editors/code/src/lsp_ext.ts | |||
@@ -129,7 +129,7 @@ export interface OpenCargoTomlParams { | |||
129 | textDocument: lc.TextDocumentIdentifier; | 129 | textDocument: lc.TextDocumentIdentifier; |
130 | } | 130 | } |
131 | 131 | ||
132 | export const moveItem = new lc.RequestType<MoveItemParams, lc.TextDocumentEdit | void, void>("experimental/moveItem"); | 132 | export const moveItem = new lc.RequestType<MoveItemParams, lc.TextEdit[], void>("experimental/moveItem"); |
133 | 133 | ||
134 | export interface MoveItemParams { | 134 | export interface MoveItemParams { |
135 | textDocument: lc.TextDocumentIdentifier; | 135 | textDocument: lc.TextDocumentIdentifier; |