aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-30 11:48:42 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-30 11:48:42 +1300
commit0ec73d6242582783ae1a9d457dfe04a5bc852199 (patch)
tree1eb9a1ed2320e5ecdd2cf49659c59f241f2d28a7 /Makefile
parentSet whitespace options for VimL locally (diff)
downloaddotfiles-0ec73d6242582783ae1a9d457dfe04a5bc852199.tar.gz
dotfiles-0ec73d6242582783ae1a9d457dfe04a5bc852199.zip
Move vim/after/ftplugin files into vim/ftplugin
None of the settings in here need to be run after the core configuration files are loaded, so I'll put them in a slightly more accessible or logical place. This adds a new target `install-vim-ftplugin`, and makes that 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 3d04f3de..455a69d4 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,7 @@
install-vim-bundle \
install-vim-config \
install-vim-ftdetect \
+ install-vim-ftplugin \
install-vim-gui \
install-vim-gui-config \
install-vim-indent \
@@ -467,6 +468,7 @@ install-urxvt: urxvt/ext/select
install-vim: install-vim-bundle \
install-vim-config \
install-vim-ftdetect \
+ install-vim-ftplugin \
install-vim-indent
install-vim-bundle: install-vim-config
@@ -483,6 +485,10 @@ install-vim-ftdetect:
mkdir -p -- $(HOME)/.vim/ftdetect
cp -p -- vim/ftdetect/*.vim $(HOME)/.vim/ftdetect
+install-vim-ftplugin:
+ mkdir -p -- $(HOME)/.vim/ftplugin
+ cp -p -- vim/ftplugin/*.vim $(HOME)/.vim/ftplugin
+
install-vim-indent:
mkdir -p -- $(HOME)/.vim/indent
cp -p -- vim/indent/*.vim $(HOME)/.vim/indent