aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-02-01 17:57:35 +1300
committerTom Ryder <tom@sanctum.geek.nz>2018-02-01 17:57:35 +1300
commit3234d03ed04f52fdfa00a932978a548019212365 (patch)
tree1f78e291c6ef0cf43bc6a7d0c25fe63b7dcb81a4 /Makefile
parentAdjust explanation of PHP indent skip (diff)
downloaddotfiles-3234d03ed04f52fdfa00a932978a548019212365.tar.gz
dotfiles-3234d03ed04f52fdfa00a932978a548019212365.zip
Replace ftplugin/php.vim with custom version
Per the comment in the new file, this is to avoid loading in HTML ftplugins as well, a curiosity of the stock ftplugin/php.vim file that's probably a well-intentioned way of accommodating templated files with a mix of PHP and HTML in them.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 13a7db7a..70209907 100644
--- a/Makefile
+++ b/Makefile
@@ -47,6 +47,7 @@
install-vim-compiler \
install-vim-config \
install-vim-ftdetect \
+ install-vim-fplugin \
install-vim-gui \
install-vim-gui-config \
install-vim-indent \
@@ -503,6 +504,7 @@ install-vim: install-vim-after \
install-vim-config \
install-vim-doc \
install-vim-ftdetect \
+ install-vim-ftplugin \
install-vim-indent \
install-vim-plugin
@@ -554,6 +556,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