backup files should be always copied #12047
-
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.
Replies: 2 comments 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.
-
See #11374 |
Beta Was this translation helpful? Give feedback.
See #11374