mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
Implement and test format hook
This commit is contained in:
parent
904438e993
commit
e823db0698
4 changed files with 41 additions and 8 deletions
|
@ -20,7 +20,7 @@ pub fn join_lines(file: &SourceFileNode, range: TextRange) -> LocalEdit {
|
|||
return LocalEdit {
|
||||
edit: EditBuilder::new().finish(),
|
||||
cursor_position: None,
|
||||
}
|
||||
};
|
||||
}
|
||||
Some(pos) => pos,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue