mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-01-26 21:09:11 +08:00
Update doc
This commit is contained in:
10
README.md
10
README.md
@@ -72,11 +72,7 @@ Supports
|
|||||||
|
|
||||||
- A built-in `foldexpr` foldmethod
|
- A built-in `foldexpr` foldmethod
|
||||||
|
|
||||||
- [emmet-vim][10] html/javascript/css/... filetype detection
|
- [emmet-vim][10] `html, javascript, css, ...` filetype detection
|
||||||
|
|
||||||
- `.wpy` files from [WePY][6]
|
|
||||||
|
|
||||||
see [Configuration](#configuration) for details
|
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
@@ -95,7 +91,6 @@ let g:vim_vue_plugin_config = {
|
|||||||
\'attribute': 0,
|
\'attribute': 0,
|
||||||
\'keyword': 0,
|
\'keyword': 0,
|
||||||
\'foldexpr': 0,
|
\'foldexpr': 0,
|
||||||
\'init_indent': 0,
|
|
||||||
\'debug': 0,
|
\'debug': 0,
|
||||||
\}
|
\}
|
||||||
```
|
```
|
||||||
@@ -123,7 +118,7 @@ For boolean options, set `0` to enable or `1` to disable
|
|||||||
|
|
||||||
- `foldexpr`: enable built-in `foldexpr` foldmethod
|
- `foldexpr`: enable built-in `foldexpr` foldmethod
|
||||||
|
|
||||||
- `init_indent`: enable initial one tab indent inside `script/style` tags
|
- `init_indent`: enable initial one tab indent inside `script/style` tags. `0` for `.vue` and `1` for `.wpy` by default
|
||||||
|
|
||||||
- `debug`: echo debug messages in `messages` list
|
- `debug`: echo debug messages in `messages` list
|
||||||
|
|
||||||
@@ -140,6 +135,7 @@ let g:vim_vue_plugin_config = {
|
|||||||
\ 'i18n': ['json', 'yaml'],
|
\ 'i18n': ['json', 'yaml'],
|
||||||
\ 'route': 'json',
|
\ 'route': 'json',
|
||||||
\ 'docs': 'markdown',
|
\ 'docs': 'markdown',
|
||||||
|
\ 'page-query': 'graphql',
|
||||||
\},
|
\},
|
||||||
\'full_syntax': ['scss', 'html'],
|
\'full_syntax': ['scss', 'html'],
|
||||||
\'attribute': 1,
|
\'attribute': 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user