mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Run prettier on all files
This commit is contained in:
parent
9bfeac708d
commit
ac3d0e8340
7 changed files with 18 additions and 23 deletions
|
@ -1,8 +1,6 @@
|
|||
import { Range, TextDocumentIdentifier } from 'vscode-languageclient';
|
||||
import { Ctx, Cmd } from '../ctx';
|
||||
import {
|
||||
applySourceChange, SourceChange
|
||||
} from '../source_change';
|
||||
import { applySourceChange, SourceChange } from '../source_change';
|
||||
|
||||
export function joinLines(ctx: Ctx): Cmd {
|
||||
return async () => {
|
||||
|
@ -18,7 +16,7 @@ export function joinLines(ctx: Ctx): Cmd {
|
|||
request,
|
||||
);
|
||||
await applySourceChange(ctx, change);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
interface JoinLinesParams {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue