mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-08 21:54:46 +08:00
Load syntax and then set syntax to fix syntax sync
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user