diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 11:29:32 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-30 11:29:32 +1300 |
commit | f8af47bc44386b18bc9d854219e20ebf3820bd43 (patch) | |
tree | 573e53556298e0a3f8acae2afe0fb0b95d623ccc /Makefile | |
parent | Move netrw.vim "after" script to plain config (diff) | |
download | dotfiles-f8af47bc44386b18bc9d854219e20ebf3820bd43.tar.gz dotfiles-f8af47bc44386b18bc9d854219e20ebf3820bd43.zip |
Move vim/after/ftdetect to vim/ftdetect
There's no particular reason to run these file detection rules after the
plugins have run, so we'll put them in a more expected directory.
I've created a new Makefile target to install this,
`install-vim-ftdetect`, which is included as a prerequisite of the
`install-vim` target.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -38,6 +38,7 @@ install-urxvt \ install-vim \ install-vim-config \ + install-vim-ftdetect \ install-vim-gui \ install-vim-gui-config \ install-vim-plugins \ @@ -463,6 +464,7 @@ install-urxvt: urxvt/ext/select -exec cp -p -- {} $(HOME)/.urxvt/ext \; install-vim: install-vim-config \ + install-vim-ftdetect \ install-vim-plugins install-vim-config: @@ -470,6 +472,10 @@ install-vim-config: cp -p -- vim/vimrc $(HOME)/.vimrc cp -p -- vim/config/*.vim $(HOME)/.vim/config +install-vim-ftdetect: + mkdir -p -- $(HOME)/.vim/ftdetect + cp -p -- vim/ftdetect/*.vim $(HOME)/.vim/ftdetect + install-vim-gui: install-vim \ install-vim-gui-config |