Merge pull request #47 from leafOfTree/lang-attr
test / vim stable (push) Canceled after 0s
test / vim v8.2.0000 (push) Canceled after 0s
test / nvim stable (push) Canceled after 0s
test / nvim v0.9.5 (push) Canceled after 0s

Allow lang without quotes and lang="typescript"
This commit is contained in:
leaf authored and GitHub committed 2026-10-21 21:15:00 +08:00
commit 824aff651d
4 files changed
+42 -3

No files matched your search

+2 -1
View File
@@ -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']`