diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index c1ad058..2cdfb2d 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -17,10 +17,10 @@ " " automatically install vim-plug if it does not exist " Note: this installs it in the neovim folder, not the vim folder -if empty(glob('~/.vim/autoload/plug.vim')) +if empty(glob('~/.local/share/nvim/site/autoload/plug.vim')) silent !curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim - autocmd VimEnter * PlugInstall --sync | source $MYVIMRC + autocmd VimEnter * PlugInstall --sync | source $MYVIMRC | q endif " automatically install any missing plugins