From 42484afc92e5de9a5e7c8223345a3c61790d468d Mon Sep 17 00:00:00 2001 From: yemai Date: Mon, 15 Oct 2018 12:52:16 +0800 Subject: [PATCH] refact: remove after directory to support pathogen installation --- README.md | 11 ++++++++++- {after/indent => indent}/vue.vim | 0 {after/syntax => syntax}/vue.vim | 0 3 files changed, 10 insertions(+), 1 deletion(-) rename {after/indent => indent}/vue.vim (100%) rename {after/syntax => syntax}/vue.vim (100%) diff --git a/README.md b/README.md index ac178f9..babe085 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,15 @@ Vim syntax and indent plugin for `.vue` and `.wpy` files. Mainly inspired by [mx Plugin 'leafOfTree/vim-vue-plugin' -- Or manual: download `vim-vue-plugin` and drop it in `Vim/vimfiles`. +- Or Use [vim-pathogen][5] + + cd ~/.vim/bundle && \ + git clone https://github.com/leafOfTree/vim-vue-plugin + +- Or manually, clone this plugin, drop it in custom `path/to/this_plugin`, and add it to `rtp` in vimrc + + set rpt+=path/to/this_plugin + Plugin works if filetype is set to `javascript.vue`. Please stay up to date. Any issue or pull request is welcome. @@ -51,3 +59,4 @@ Ex: [2]: https://github.com/VundleVim/Vundle.vim [3]: https://vuejs.org/v2/guide/single-file-components.html [4]: https://github.com/digitaltoad/vim-pug +[5]: https://github.com/tpope/vim-pathogen diff --git a/after/indent/vue.vim b/indent/vue.vim similarity index 100% rename from after/indent/vue.vim rename to indent/vue.vim diff --git a/after/syntax/vue.vim b/syntax/vue.vim similarity index 100% rename from after/syntax/vue.vim rename to syntax/vue.vim