nvim-treesitter/lua
Robert Muir 3edb01f912
fix(install): unlink files before copy on unix to prevent crashes (#8517)
uv_fs_copyfile will truncate the target first, which can result in
hard-to-debug crashes if the shared object is currently in use.

instead, unlink the target first, so that the operation doesn't modify
any in-use files. the disk space from the old parsers won't be reclaimed
until any processes using them relinquish their open file handles.
2026-02-19 15:39:22 +01:00
..
nvim-treesitter fix(install): unlink files before copy on unix to prevent crashes (#8517) 2026-02-19 15:39:22 +01:00