From a14bc50707592944bf6e327c912bb197de98ec00 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 4 Jun 2018 22:35:49 +1200 Subject: Move Markdown and PHP ftplugins from after dir Because we use our own private copies of the primary filetype plugins, they'll get loaded in the correct order from here. Also adjust Makefile to accommodate the extra level. --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fd08950d..134935ae 100644 --- a/Makefile +++ b/Makefile @@ -546,8 +546,13 @@ install-vim-ftdetect: cp -p -- vim/ftdetect/*.vim $(VIMDIR)/ftdetect install-vim-ftplugin: - mkdir -p -- $(VIMDIR)/ftplugin - cp -p -- vim/ftplugin/*.vim $(VIMDIR)/ftplugin + mkdir -p $(VIMDIR)/ftplugin + find vim/ftplugin \ + -type d -exec sh -c \ + 'mkdir -p -- $(VIMDIR)/"$${1#vim/}"' _ {} \; \ + -o \ + -type f -exec sh -c \ + 'cp -p -- "$$1" $(VIMDIR)/"$${1#vim/}"' _ {} \; install-vim-indent: mkdir -p -- $(VIMDIR)/indent -- cgit v1.2.3