mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-21 17:06:18 +04:00
dca952c03a
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. |
||
---|---|---|
.. | ||
src | ||
tests/encoding | ||
Cargo.toml |