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