aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-30 11:29:32 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-30 11:29:32 +1300
commitf8af47bc44386b18bc9d854219e20ebf3820bd43 (patch)
tree573e53556298e0a3f8acae2afe0fb0b95d623ccc /Makefile
parentMove netrw.vim "after" script to plain config (diff)
downloaddotfiles-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--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 74ebd0f4..af54e7a0 100644
--- a/Makefile
+++ b/Makefile
@@ -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