mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-01-23 03:23:24 +08:00
docs: update
This commit is contained in:
@@ -36,6 +36,7 @@ Supports
|
||||
- Less with or without [vim-less][9] (see Configuration).
|
||||
- Sass/Scss (see Configuration).
|
||||
- [vim-emmet][10] HTML/CSS/JavaScript filetype detection (Aug 9, 2019).
|
||||
- A builtin foldexpr fold method.
|
||||
- `.wpy` files from [WePY][6].
|
||||
|
||||
## Configuration
|
||||
@@ -53,7 +54,8 @@ Ex:
|
||||
| `g:vim_vue_plugin_use_less` | Enable less syntax for `<style lang="less">`. | 0 |
|
||||
| `g:vim_vue_plugin_use_sass` | Enable sass/scss syntax for `<style lang="sass">`(or scss). | 0 |
|
||||
| `g:vim_vue_plugin_has_init_indent` | Initially indent one tab inside `style/script` tags. | 0 for `.vue`. 1 for `.wpy` |
|
||||
| `g:vim_vue_plugin_highlight_vue_attr` | Highlight vue attribute value as expression instead of string. | 0 |
|
||||
| `g:vim_vue_plugin_highlight_vue_attr` | Highlight vue attribute value as expression instead of string. | 0 |
|
||||
| `g:vim_vue_plugin_use_foldexpr` | Enable builtin foldexpr fold method. | 1 |
|
||||
| `g:vim_vue_plugin_debug` | Echo debug messages in `messages` list. Useful to debug if unexpected indents occur. | 0 |
|
||||
|
||||
\*: Vim may be slow if the feature is enabled. Find a balance between syntax highlight and speed. By the way, custom syntax could be added in `~/.vim/syntax` or `$VIM/vimfiles/syntax`.
|
||||
|
||||
Reference in New Issue
Block a user