Hacker News new | ask | show | jobs
by lawn 213 days ago
You can configure Neovim to either auto reload or to ask you whenever a file is changed. (Can't remember which one is the default, probably to ask.)
3 comments

I'm ~80% sure auto-reload is on by default, and 100% sure that it's on in a fresh LazyVim install.
vim.o.autoread (default on) When a file has been detected to have been changed outside of Vim and it has not been changed inside of Vim, automatically read it again.
Thanks, just found something about that.