backup files should be always copied #12047
Unanswered
aster-void
asked this question in
General
Replies: 1 comment 1 reply
-
Writing to backup files is what Vim/Neovim does as well as many other editors. The issue is simply that there are some edge-cases that aren't covered by the current algorithm. File watchers should be designed with the ability to detect such changes from my understanding, so the onus is on them to address that, not the editor.
You need to use master for the fix. Most issues with the system will be fixed with a planned rewrite I have for it that will more closely match Vim's backup system. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
see helix-view/document.rs :959 for the code
current implementation of moving it is causing too many issues:
and it doesn't serve much purpose because:
if the speed is critical on large files, move it only when the file is that large.
Beta Was this translation helpful? Give feedback.
All reactions