diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-04 22:35:49 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-04 22:41:17 +1200 |
commit | a14bc50707592944bf6e327c912bb197de98ec00 (patch) | |
tree | f87b3a7c5bfaa116e846c227a8de137c9a08439d /Makefile | |
parent | Make private copy of ftplugin/markdown.vim (diff) | |
download | dotfiles-a14bc50707592944bf6e327c912bb197de98ec00.tar.gz dotfiles-a14bc50707592944bf6e327c912bb197de98ec00.zip |
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.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |