aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile9
-rw-r--r--vim/ftplugin/markdown/autoformat.vim (renamed from vim/after/ftplugin/markdown/autoformat.vim)0
-rw-r--r--vim/ftplugin/markdown/spell.vim (renamed from vim/after/ftplugin/markdown/spell.vim)0
-rw-r--r--vim/ftplugin/php/check.vim (renamed from vim/after/ftplugin/php/check.vim)0
4 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fd08950d..134935ae 100644
--- a/Makefile
+++ b/Makefile
@@ -546,8 +546,13 @@ install-vim-ftdetect:
cp -p -- vim/ftdetect/*.vim $(VIMDIR)/ftdetect
install-vim-ftplugin:
- mkdir -p -- $(VIMDIR)/ftplugin
- cp -p -- vim/ftplugin/*.vim $(VIMDIR)/ftplugin
+ mkdir -p $(VIMDIR)/ftplugin
+ find vim/ftplugin \
+ -type d -exec sh -c \
+ 'mkdir -p -- $(VIMDIR)/"$${1#vim/}"' _ {} \; \
+ -o \
+ -type f -exec sh -c \
+ 'cp -p -- "$$1" $(VIMDIR)/"$${1#vim/}"' _ {} \;
install-vim-indent:
mkdir -p -- $(VIMDIR)/indent
diff --git a/vim/after/ftplugin/markdown/autoformat.vim b/vim/ftplugin/markdown/autoformat.vim
index 3f620691..3f620691 100644
--- a/vim/after/ftplugin/markdown/autoformat.vim
+++ b/vim/ftplugin/markdown/autoformat.vim
diff --git a/vim/after/ftplugin/markdown/spell.vim b/vim/ftplugin/markdown/spell.vim
index 05fc7c00..05fc7c00 100644
--- a/vim/after/ftplugin/markdown/spell.vim
+++ b/vim/ftplugin/markdown/spell.vim
diff --git a/vim/after/ftplugin/php/check.vim b/vim/ftplugin/php/check.vim
index 33077a72..33077a72 100644
--- a/vim/after/ftplugin/php/check.vim
+++ b/vim/ftplugin/php/check.vim