helix/helix-view/src
Michael Davis dca952c03a
Delay auto-save until exiting insert mode (#11047)
Saving while in insert mode causes issues with the modification
indicator and this is very easy to reproduce with the current state of
the auto-save hook. We can tweak the hook slightly to await the mode
switch out of insert mode to perform the save.

The debounce is preserved: if you save and then immediately exit insert
mode the debounce will be respected. If the debounce lapses while you
are in insert mode, the save occurs as you switch out of insert mode
immediately.
2024-06-29 11:08:21 +09:00
..
handlers Remove unwrap on line option, preventing DAP crash (#9632) 2024-02-16 15:43:14 +01:00
base64.rs Fix new clippy lints (#5892) 2023-02-09 16:27:08 -06:00
clipboard.rs FIx incorrectly spelled cfg options (#10703) 2024-05-07 18:14:02 +02:00
document.rs Prevent improper files (like /dev/random) from being used as file arguments (#10733) 2024-06-18 18:14:17 +02:00
editor.rs Prevent improper files (like /dev/random) from being used as file arguments (#10733) 2024-06-18 18:14:17 +02:00
events.rs Add hook/event system 2024-01-23 11:20:19 +09:00
graphics.rs tui: Constify functions, shrink Margin representation 2024-05-21 04:34:36 +09:00
gutter.rs use newtype parttern for langauge server id 2024-04-22 12:27:47 +09:00
handlers.rs Delay auto-save until exiting insert mode (#11047) 2024-06-29 11:08:21 +09:00
info.rs Use refactored Registers type 2023-07-31 15:05:38 +09:00
input.rs Normalize `S-<lower-ascii>` keymaps to uppercase ascii (#9213) 2024-01-09 10:04:34 +09:00
keyboard.rs build(deps): bump bitflags from 1.3.2 to 2.0.2 (#6387) 2023-03-22 08:12:08 +08:00
lib.rs Re-export `which` from `helix-stdx::env` 2024-01-24 15:47:49 +09:00
macros.rs Apply transactions to all views (#4733) 2022-11-23 12:28:49 +09:00
register.rs `cargo fmt` 2024-05-07 15:15:52 -04:00
theme.rs Add tree-sitter-highlight-name command (#8170) 2023-09-10 14:57:44 +02:00
tree.rs Resolve new Clippy lints 2024-05-07 15:15:52 -04:00
view.rs Fix jump_backwards behaviour when jumplist is at capacity (#10968) 2024-06-18 10:42:46 +02:00