mirror of
https://github.com/neovim/neovim.git
synced 2025-12-03 07:23:05 +00:00
Previously rename would unconditionally read the to-be-renamed file from the disk and write it to the disk. This is redundant in some cases If the file is not already loaded, it's not attached to lsp client, so nvim doesn't need to care about this file. If the file is loaded but has no change, it doesn't need to be written.