Skyler Hawthorne
f82a551b98
Rename doc save event names to past tense
2 years ago
Skyler Hawthorne
aaa1450678
fix write-quit with auto format
...
write-quit will now save all files successfully even when there is auto
formatting
2 years ago
Skyler Hawthorne
41bf1d5811
fix(command): write-quit: do not quit if write fails
...
During write-quit, if the file fails to be written for any reason, helix
will still quit without saving the changes. This fixes this behavior by
introducing fallibility to the asynchronous job queues. This will also
benefit all contexts which may depend on these job queues.
Fixes #1575
2 years ago
Skyler Hawthorne
ee705dcb33
use main application event loop
...
Use the Application's main event loop to allow LSP, file writes, etc
2 years ago
Blaž Hrastnik
6ea477ab60
Don't use block_on in jobs.finish(), we can .await
3 years ago
Blaž Hrastnik
e7eab95b94
Update to rust 1.58, fix a bunch of optional lints
3 years ago
Blaž Hrastnik
10b690b5bd
Drop some &mut bounds where & would have sufficed
3 years ago
Blaž Hrastnik
83e7dd8602
fix: Temporary fix for #402
3 years ago
Nathan Vegdahl
702a0491db
Remove #[allow(unused)] from helix-term, and fix unused imports.
...
Lots of other warning still left. Will address in subsequent commits.
3 years ago
Joe Neeman
ffa2f2590b
Satisfy clippy.
3 years ago
Joe Neeman
d64d75e724
Add some async job infrastructure.
3 years ago