mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-11-02 02:17:33 +08:00
Load syntax and then set syntax to fix syntax sync
This commit is contained in:
1 parent
6e25aaf388
commit
c248bd1488
2 files changed
+7
-11
No files matched your search
@@ -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