From fcc0e387b0f4ae02a07b6c721066749161f9444f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 18 Jul 2018 10:13:30 +1200 Subject: Scrap auto_cache_dirs plugin for a new approach Trying this instead; creating the relevant directories at install time. Also putting all three under one "cache" subdir of ~/.vim or ~/vimfiles. I'm not sure this is actually better, but I do like that the relevant options are now set in the .vimrc rather than in a plugin, so I guess we'll see. --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e3e0ad38..507221a8 100644 --- a/Makefile +++ b/Makefile @@ -548,11 +548,17 @@ install-vim-bundle: install-vim-config 'cp -p -- "$$1" $(VIMDIR)/"$${1#vim/bundle/*/}"' _ {} \; $(VIM) -e -u NONE -c 'helptags $(VIMDIR)/doc' -c quit +install-vim-cache: + mkdir -p -- \ + $(VIMDIR)/cache/backup \ + $(VIMDIR)/cache/swap \ + $(VIMDIR)/cache/undo + install-vim-compiler: mkdir -p -- $(VIMDIR)/compiler cp -p -- vim/compiler/*.vim $(VIMDIR)/compiler -install-vim-config: +install-vim-config: install-vim-cache cp -p -- vim/vimrc $(VIMRC) if [ -e /etc/debian_version ] ; then \ cp -p -- vim/system/debian.vim $(VIMDIR)/system.vim ; \ -- cgit v1.2.3