Highlight <script...> as htmlTagName instead of htmlSpecialTagName from built-in syntax

This commit is contained in:
leafOfTree
2022-10-11 14:16:21 +08:00
parent 4da7d448ae
commit 84ac1d2359

View File

@@ -89,6 +89,7 @@ syntax match javaScriptNumber '\v<-?\d+L?>|0[xX][0-9a-fA-F]+>' contained
syntax match htmlJavaScriptOperator '[-!|&+<>=%*~^]' contained syntax match htmlJavaScriptOperator '[-!|&+<>=%*~^]' contained
syntax match htmlJavaScriptOperator '\v(*)@<!/(/|*)@!' contained syntax match htmlJavaScriptOperator '\v(*)@<!/(/|*)@!' contained
syntax keyword htmlJavaScriptOperator delete instanceof typeof void new in of contained syntax keyword htmlJavaScriptOperator delete instanceof typeof void new in of contained
syntax keyword htmlTagName contained template script style
highlight default link VueAttr htmlTag highlight default link VueAttr htmlTag
if s:attribute if s:attribute