From 244b1e98bd0c45c24ef54e4ebcafbd399715dcd7 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 15 May 2019 10:28:12 +0200 Subject: [PATCH] fix plugin check on vim startup --- .config/nvim/init.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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