Merge pull request #5 from ashishwadekar/master

Fix typo in Global variable settings & Add installation instructions for Vim Plug
This commit is contained in:
leaf
2018-12-18 19:19:04 +08:00
committed by GitHub
+7 -1
View File
@@ -13,6 +13,11 @@ Vim syntax and indent plugin for `.vue` and `.wpy` files. Mainly inspired by [mx
cd ~/.vim/bundle && \ cd ~/.vim/bundle && \
git clone https://github.com/leafOfTree/vim-vue-plugin git clone https://github.com/leafOfTree/vim-vue-plugin
- Use [vim-plug][7]
Plug 'leafOfTree/vim-vue-plugin'
:PlugInstall
- Or manually, clone this plugin, drop it in custom `path/to/this_plugin`, and add it to `rtp` in vimrc - 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 set rpt+=path/to/this_plugin
@@ -33,7 +38,7 @@ Set global variable to `1` to enable or `0` to disable.
Ex: Ex:
let g:vim_uue_plugin_load_full_syntax = 1 let g:vim_vue_plugin_load_full_syntax = 1
| variable | description | default | | variable | description | default |
|---------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|----------------------------| |---------------------------------------|--------------------------------------------------------------------------------------------------------------------------------|----------------------------|
@@ -60,3 +65,4 @@ Ex:
[4]: https://github.com/digitaltoad/vim-pug [4]: https://github.com/digitaltoad/vim-pug
[5]: https://github.com/tpope/vim-pathogen [5]: https://github.com/tpope/vim-pathogen
[6]: https://tencent.github.io/wepy [6]: https://tencent.github.io/wepy
[7]: https://github.com/junegunn/vim-plug