diff --git a/init.lua b/init.lua index 8110ff7..988525e 100644 --- a/init.lua +++ b/init.lua @@ -626,6 +626,11 @@ do vim.g.neovide_scale_factor = 0.75 vim.g.neovide_hide_mouse_when_typing = true end + + -- Stop neovim from confusing tools like inotify + -- Because by default, it will rename the original and then delete it. + -- This confuses inotify to think the file doesn't exist and stops trackign it. + vim.o.backupcopy = "yes" end -- [[ Basic Keymaps ]]