From f8af47bc44386b18bc9d854219e20ebf3820bd43 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 30 Oct 2017 11:29:32 +1300 Subject: 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. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') 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 -- cgit v1.2.3