aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--Makefile6
-rw-r--r--vim/ftplugin/html.vim (renamed from vim/after/ftplugin/html.vim)0
-rw-r--r--vim/ftplugin/mail.vim (renamed from vim/after/ftplugin/mail.vim)0
-rw-r--r--vim/ftplugin/perl.vim (renamed from vim/after/ftplugin/perl.vim)0
-rw-r--r--vim/ftplugin/sh.vim (renamed from vim/after/ftplugin/sh.vim)0
-rw-r--r--vim/ftplugin/vim.vim (renamed from vim/after/ftplugin/vim.vim)0
6 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
diff --git a/vim/after/ftplugin/html.vim b/vim/ftplugin/html.vim
index 38b71656..38b71656 100644
--- a/vim/after/ftplugin/html.vim
+++ b/vim/ftplugin/html.vim
diff --git a/vim/after/ftplugin/mail.vim b/vim/ftplugin/mail.vim
index 35432b96..35432b96 100644
--- a/vim/after/ftplugin/mail.vim
+++ b/vim/ftplugin/mail.vim
diff --git a/vim/after/ftplugin/perl.vim b/vim/ftplugin/perl.vim
index dad2ce35..dad2ce35 100644
--- a/vim/after/ftplugin/perl.vim
+++ b/vim/ftplugin/perl.vim
diff --git a/vim/after/ftplugin/sh.vim b/vim/ftplugin/sh.vim
index 2b73611e..2b73611e 100644
--- a/vim/after/ftplugin/sh.vim
+++ b/vim/ftplugin/sh.vim
diff --git a/vim/after/ftplugin/vim.vim b/vim/ftplugin/vim.vim
index b958fe54..b958fe54 100644
--- a/vim/after/ftplugin/vim.vim
+++ b/vim/ftplugin/vim.vim