Makefile: create vim-plugged directory

This commit is contained in:
Gabriel Ebner 2018-11-18 11:45:24 +01:00
parent e1405f7468
commit acede6e433

@ -40,6 +40,7 @@ install-file/%: %
VIM_DIR = $(HOME)/.config/nvim VIM_DIR = $(HOME)/.config/nvim
install-vim-plug: install-vim-plug:
mkdir -p ~/.vim/plugged
mkdir -p $(VIM_DIR)/autoload mkdir -p $(VIM_DIR)/autoload
test -f $(VIM_DIR)/autoload/plug.vim || curl -fLo $(VIM_DIR)/autoload/plug.vim \ test -f $(VIM_DIR)/autoload/plug.vim || curl -fLo $(VIM_DIR)/autoload/plug.vim \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim