feat: add debug toggle variable

This commit is contained in:
yemai
2018-09-30 10:13:32 +08:00
parent 95f69d9de6
commit df15dee610
2 changed files with 5 additions and 3 deletions

View File

@@ -22,10 +22,12 @@ Support `.wpy` files too.
Set global variable to `1` to enable or `0` to disable.
`g:vim_vue_plugin_has_init_indent`: indent one tab inside `sytle/template/script` tags (default: 0 for .vue and 1 for .wpy)
`g:vim_vue_plugin_has_init_indent`: initially indent one tab inside `style/script` tags. (default: 0 for `.vue` and 1 for `.wpy`)
let g:vim_vue_plugin_has_init_indent = 1
`g: vim_vue_plugin_debug`: echo debug message in `messages` list. Useful to debug if indent errors occur.
## Screenshot
![screenshot](static/screenshot.png)