From c063dca27cad562d24f033235b440a7382f1b8be Mon Sep 17 00:00:00 2001 From: leafOfTree Date: Sat, 12 Oct 2019 11:03:03 +0800 Subject: [PATCH] Update doc --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 83edcee..55c6394 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ # vim-vue-plugin [![Build Status][12]](https://travis-ci.com/leafOfTree/vim-vue-plugin)

+ screenshot +

Vim syntax and indent plugin for `.vue` files. Mainly inspired by [mxw/vim-jsx][1]. @@ -69,16 +71,13 @@ Set global variable to `1` to enable or `0` to disable. Ex: - `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`. - `g:vim_vue_plugin_use_foldexpr` default value used to be `1`. But there are other foldmethod choices, so it's changed to `0`. -## Screenshot - - ## Context based behavior As there are more than one language in `.vue` file, the different behaviors like mapping or completion may be expected under different tags. This plugin provides a function to get the tag where the cursor is in. -- `GetVueTag() => String` Return value is 'template', 'script' or 'style'. +- `GetVueTag() => String` Return value is `'template'`, `'script'` or `'style'`. ### Example