Skyler Hawthorne
b530a86d1f
remove Callback::Compositor variant
...
To reduce likelihood of accidental discarding of important callbacks
2022-10-18 22:31:39 -04:00
Skyler Hawthorne
f82a551b98
Rename doc save event names to past tense
2022-10-18 22:31:39 -04:00
Skyler Hawthorne
aaa1450678
fix write-quit with auto format
...
write-quit will now save all files successfully even when there is auto
formatting
2022-10-18 22:31:39 -04:00
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
2022-06-18 23:57:47 -04:00
Skyler Hawthorne
ee705dcb33
use main application event loop
...
Use the Application's main event loop to allow LSP, file writes, etc
2022-06-18 23:54:03 -04:00
Blaž Hrastnik
6ea477ab60
Don't use block_on in jobs.finish(), we can .await
2022-02-05 15:05:19 +09:00
Blaž Hrastnik
e7eab95b94
Update to rust 1.58, fix a bunch of optional lints
2022-01-16 14:19:48 +09:00
Blaž Hrastnik
10b690b5bd
Drop some &mut bounds where & would have sufficed
2021-09-06 15:25:46 +09:00
Blaž Hrastnik
83e7dd8602
fix: Temporary fix for #402
2021-07-03 12:30:13 +09:00
Nathan Vegdahl
702a0491db
Remove #[allow(unused)] from helix-term, and fix unused imports.
...
Lots of other warning still left. Will address in subsequent commits.
2021-07-01 19:06:52 -07:00
Joe Neeman
ffa2f2590b
Satisfy clippy.
2021-06-30 17:08:50 +09:00
Joe Neeman
d64d75e724
Add some async job infrastructure.
2021-06-30 17:08:50 +09:00