From 44ab99e97b4404f00ce4ce22e1bce53b5ab647c2 Mon Sep 17 00:00:00 2001 From: leafOfTree Date: Sat, 12 Oct 2019 16:00:05 +0800 Subject: [PATCH] Update doc --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e67783b..3779f06 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,11 @@ Vim syntax and indent plugin for `.vue` files. Mainly inspired by [mxw/vim-jsx][1]. - ## Install +
+How to install + - [VundleVim][2] Plugin 'leafOfTree/vim-vue-plugin' @@ -29,8 +31,10 @@ Vim syntax and indent plugin for `.vue` files. Mainly inspired by [mxw/vim-jsx][ set rtp+=path/to/this_plugin -The plugin works if `filetype` is set to `vue`. Please stay up to date. Feel free to open an issue or a pull request. +
+
+This plugin works if `filetype` is set to `vue`. Please stay up to date. Feel free to open an issue or a pull request. ## How it works @@ -68,7 +72,7 @@ Set global variable to `1` to enable or `0` to disable. Ex: **Note** -- `filetype` used to be set to `javascript.vue`, which caused `javascript` syntax to be loaded multiple times and a significant delay. Now it is `vue` so autocmds and other settings for `javascript` have to be manually enabled for `vue`. +- `filetype` is set to `vue` so autocmds and other custom settings for `javascript` have to be manually enabled for `vue`. - `g:vim_vue_plugin_use_foldexpr` default value used to be `1`. But there are other foldmethod choices, so it's changed to `0`. ## Context based behavior