Skip to content

Commit

Permalink
todo
Browse files Browse the repository at this point in the history
  • Loading branch information
dead10ck committed May 29, 2022
1 parent 5b24cc8 commit 3b0e987
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helix-view/src/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,7 @@ impl Document {
}
}

// TODO: move lsp formatting callback logic here?
if let Some(fmt) = formatting {
let success = Transaction::from(fmt.await).changes().apply(&mut text);
if !success {
Expand Down

0 comments on commit 3b0e987

Please sign in to comment.