You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/helix-view/src
Michael Davis 855568fa34
Synchronize files after writing (#10735)
fsync(2) is a somewhat expensive operation that flushes writes to the
underlying disk/SSD. It's typically used by databases to ensure that
writes survive very hard failure scenarios like your cat kicking the
plug out of the wall. Synchronizing isn't automatically done by
`flush`ing (from the `std::io::Write` or `tokio::io::AsyncWriteExt`
traits). From the [`tokio::fs::File`] moduledocs:

> To ensure that a file is closed immediately when it is dropped, you
> should call `flush` before dropping it. Note that this does not ensure
> that the file has been fully written to disk; the operating system
> might keep the changes around in an in-memory buffer. See the
> `sync_all` method for telling the OS to write the data to disk.

[`tokio::fs::File`]: https://docs.rs/tokio/latest/tokio/fs/struct.File.html
5 days ago
..
handlers Remove unwrap on line option, preventing DAP crash (#9632) 3 months ago
base64.rs Fix new clippy lints (#5892) 1 year ago
clipboard.rs FIx incorrectly spelled cfg options (#10703) 2 weeks ago
document.rs Synchronize files after writing (#10735) 5 days ago
editor.rs FIx incorrectly spelled cfg options (#10703) 2 weeks ago
events.rs Add hook/event system 4 months ago
graphics.rs build(deps): bump bitflags from 1.3.2 to 2.0.2 (#6387) 1 year ago
gutter.rs use newtype parttern for langauge server id 4 weeks ago
handlers.rs refactor completion and signature help using hooks 4 months ago
info.rs Use refactored Registers type 10 months ago
input.rs Normalize `S-<lower-ascii>` keymaps to uppercase ascii (#9213) 4 months ago
keyboard.rs build(deps): bump bitflags from 1.3.2 to 2.0.2 (#6387) 1 year ago
lib.rs Re-export `which` from `helix-stdx::env` 4 months ago
macros.rs Apply transactions to all views (#4733) 2 years ago
register.rs `cargo fmt` 2 weeks ago
theme.rs Add tree-sitter-highlight-name command (#8170) 8 months ago
tree.rs Resolve new Clippy lints 2 weeks ago
view.rs show newest options in jumplist picker first, fix docs (#10095) 2 months ago