mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-11-03 19:07:35 +08:00
Merge pull request #47 from leafOfTree/lang-attr
Allow lang without quotes and lang="typescript"
This commit is contained in:
4 files changed
+42
-3
No files matched your search
@@ -134,7 +134,8 @@ let g:vim_vue_plugin_config.foldexpr = 0
|
||||
|
||||
Note
|
||||
|
||||
- `typescript` matches `lang="ts"`
|
||||
- `typescript` matches `lang="ts"` and `lang="typescript"`
|
||||
- `lang` can be in double or single quotes, or without quotes
|
||||
- `list` options can be `string` if only one
|
||||
- The first item of syntax list will be used if no "lang=..."
|
||||
- For `.wpy`, `initial_indent` defaults to `['script', 'style']`
|
||||
|
||||
Reference in new issue
Block a user