Load syntax and then set syntax to fix syntax sync

This commit is contained in:
leafOfTree committed 2021-08-13 16:56:22 +08:00
1 parent 6e25aaf388
commit c248bd1488
2 files changed
+7 -11

No files matched your search

+3
View File
@@ -45,6 +45,9 @@ syntax region VueExpression
\ transparent
\ start="{{"
\ end="}}"
" Just to avoid error when using pattern in containedin
syntax match htmlTemplateBlock /htmlTemplateBlock/
syntax region VueExpression
\ containedin=VueValue,htmlString,htmlValue,.*TemplateBlock,html.*Block
\ contains=@simpleJavascriptExpression