mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-22 19:34:16 +00:00
🧹 lsp_ext.ts
This commit is contained in:
parent
544c581e5f
commit
64110714f0
3 changed files with 130 additions and 158 deletions
|
@ -130,11 +130,11 @@ export function joinLines(ctx: CtxInit): Cmd {
|
|||
}
|
||||
|
||||
export function moveItemUp(ctx: CtxInit): Cmd {
|
||||
return moveItem(ctx, ra.Direction.Up);
|
||||
return moveItem(ctx, "Up");
|
||||
}
|
||||
|
||||
export function moveItemDown(ctx: CtxInit): Cmd {
|
||||
return moveItem(ctx, ra.Direction.Down);
|
||||
return moveItem(ctx, "Down");
|
||||
}
|
||||
|
||||
export function moveItem(ctx: CtxInit, direction: ra.Direction): Cmd {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue