diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-02 21:46:35 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-02 21:46:35 +1200 |
commit | 8b9887ad91f4374069afe387acc5df1c90f23c0c (patch) | |
tree | 761f66311f826ef78fa3b488cc79041389d26800 /Makefile | |
parent | Rebuild help tags after installing bundle (diff) | |
download | dotfiles-8b9887ad91f4374069afe387acc5df1c90f23c0c.tar.gz dotfiles-8b9887ad91f4374069afe387acc5df1c90f23c0c.zip |
Refactor Vim distribution plugin/macro handling
Intelligently choose how to load matchit.vim, and clean up the
short-circuit variables for the unwanted distribution plugins in an
"after" plugin script.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -41,6 +41,7 @@ install-vim-after \ install-vim-after-ftdetect \ install-vim-after-indent \ + install-vim-after-plugin \ install-vim-after-syntax \ install-vim-bundle \ install-vim-compiler \ @@ -50,6 +51,7 @@ install-vim-gui \ install-vim-gui-config \ install-vim-indent \ + install-vim-plugin \ install-vint \ install-wget \ install-x \ @@ -498,6 +500,7 @@ install-vim: install-vim-after \ install-vim-after: install-vim-after-ftplugin \ install-vim-after-indent \ + install-vim-after-plugin \ install-vim-after-syntax install-vim-after-ftplugin: @@ -511,6 +514,10 @@ install-vim-after-indent: mkdir -p $(VIMDIR)/after/indent cp -p -- vim/after/indent/*.vim $(VIMDIR)/after/indent +install-vim-after-plugin: + mkdir -p $(VIMDIR)/after/plugin + cp -p -- vim/after/plugin/*.vim $(VIMDIR)/after/plugin + install-vim-after-syntax: mkdir -p $(VIMDIR)/after/syntax cp -p -- vim/after/syntax/*.vim $(VIMDIR)/after/syntax @@ -551,6 +558,10 @@ install-vim-gui: install-vim \ install-vim-gui-config: cp -p -- vim/gvimrc $(HOME)/.gvimrc +install-vim-plugin: + mkdir -p -- $(VIMDIR)/plugin + cp -p -- vim/plugin/*.vim $(VIMDIR)/plugin + install-vint: cp -p -- vint/vintrc.yaml $(HOME)/.vintrc.yaml |