@@ 199,9 199,10 @@ else
\ matchgroup=xmlTag end=+>+
\ contains=xmlError,xmlTagName,xmlAttrib,xmlEqual,xmlString,@xmlStartTagHook
- syn match xmlEndTag
- \ +</[^ /!?<>"']\+>+
- \ contains=xmlNamespace,xmlAttribPunct,@xmlTagHook
+ syn region xmlEndTag
+ \ matchgroup=xmlTag start=+</[^ /!?<>"']\@=+
+ \ matchgroup=xmlTag end=+>+
+ \ contains=xmlTagName,xmlNamespace,xmlAttribPunct,@xmlTagHook
endif
@@ 310,7 311,7 @@ syn sync minlines=100
hi def link xmlTodo Todo
hi def link xmlTag Function
hi def link xmlTagName Function
-hi def link xmlEndTag Identifier
+hi def link xmlEndTag Function
if !exists("g:xml_namespace_transparent")
hi def link xmlNamespace Tag
endif