nvim-pack / nvim-spectre

Find the enemy and replace them with dark power.
MIT License
1.91k stars 67 forks source link

replace all throw a error #223

Closed DreamMaoMao closed 2 months ago

DreamMaoMao commented 2 months ago

image

Every replacement will have an error ,but I really don't have this file, so why would it go looking for that file?

DreamMaoMao commented 2 months ago

This error does not occur if neo-tree is closed. Is this error due to spectre generating temporary files and quickly deleting them?

EpsilonKu commented 2 months ago

Can you send full error? If you run :message command. It shows error

EpsilonKu commented 2 months ago

@DreamMaoMao I guess it appears cuz replace tool do file operations. So it's more like neo-tree issue. It's similar to https://github.com/nvim-neo-tree/neo-tree.nvim/issues/914. You should remove use_libuv_file_watcher = false so it won't track files or open issue on neo-tree. Closing this issue. If you think this is spectre problem anyway, please provide full error message.