format: Re-implement support for formatting with code actions that contain commands (#28392)
Closes #27692 Closes #27935 Release Notes: - Fixed a regression where code-actions used when formatting on save were rejected if they contained commands
This commit is contained in:
parent
301fc7cd7b
commit
e66a24edcf
5 changed files with 421 additions and 201 deletions
|
@ -4272,6 +4272,7 @@ impl Editor {
|
|||
buffer
|
||||
.update(cx, |buffer, _| {
|
||||
buffer.push_transaction(transaction, Instant::now());
|
||||
buffer.finalize_last_transaction();
|
||||
})
|
||||
.ok();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue