From ede13575c5f7c0431c5060735d8edabfd0161bf8 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Mon, 16 May 2016 17:17:46 -0700 Subject: [PATCH] Add autoloading vim-plug --- dotfiles/config/nvim/init.vim | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dotfiles/config/nvim/init.vim b/dotfiles/config/nvim/init.vim index b7bad53..7527c46 100644 --- a/dotfiles/config/nvim/init.vim +++ b/dotfiles/config/nvim/init.vim @@ -2,6 +2,12 @@ set fileencoding=utf-8 filetype off +if empty(glob('~/.config/nvim/autoload/plug.vim')) + silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs + \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim + autocmd VimEnter * PlugInstall | source $MYVIMRC +endif + call plug#begin('~/.nvim/plugged') " Solarized theme @@ -79,7 +85,6 @@ Plug 'raichoo/haskell-vim' " end plugin list call plug#end() - " Solarized Dark set background=dark colorscheme solarized