djoshea / vim-autoread

Have Vim automatically reload a file that has changed externally
102 stars 8 forks source link

Neovim support #6

Open mightyiam opened 1 year ago

mightyiam commented 1 year ago

Hey, I'm not sure whether this has to do with differences between Vim and Neovim. Just guessing. The automatic activation doesn't work for me:

https://github.com/djoshea/vim-autoread/blob/7e83d47a71fdafc271005fc39c89863204278c77/plugin/autoread.vim#L173

What I did is:

https://github.com/mightyiam/nixconfigs/blob/59adfc8b8de938cd3d885e860ca38efbfdc3eba6/home/modules/neovim/default.nix#L126