diff options
Diffstat (limited to 'runtime/syntax/xml.vim')
-rw-r--r-- | runtime/syntax/xml.vim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/syntax/xml.vim b/runtime/syntax/xml.vim index 58d6db03e..2d4170a04 100644 --- a/runtime/syntax/xml.vim +++ b/runtime/syntax/xml.vim @@ -3,7 +3,7 @@ " Maintainer: Johannes Zellner <johannes@zellner.org> " Author and previous maintainer: " Paul Siegmann <pauls@euronet.nl> -" Last Change: 2009-07-13 21:26:55 +" Last Change: 2013 May 29 " Filenames: *.xml " $Id: xml.vim,v 1.3 2006/04/11 21:32:00 vimboss Exp $ @@ -81,7 +81,7 @@ syn match xmlEqual +=+ display " ^^^^^^^^^^^^^ " syn match xmlAttrib - \ +[-'"<]\@<!\<[a-zA-Z:_][-.0-9a-zA-Z0-9:_]*\>\(['">]\@!\|$\)+ + \ +[-'"<]\@2<!\<[a-zA-Z:_][-.0-9a-zA-Z0-9:_]*\>\(['">]\@!\|$\)+ \ contained \ contains=xmlAttribPunct,@xmlAttribHook \ display @@ -98,14 +98,14 @@ syn match xmlAttrib " if exists("g:xml_namespace_transparent") syn match xmlNamespace - \ +\(<\|</\)\@<=[^ /!?<>"':]\+[:]\@=+ + \ +\(<\|</\)\@2<=[^ /!?<>"':]\+[:]\@=+ \ contained \ contains=@xmlNamespaceHook \ transparent \ display else syn match xmlNamespace - \ +\(<\|</\)\@<=[^ /!?<>"':]\+[:]\@=+ + \ +\(<\|</\)\@2<=[^ /!?<>"':]\+[:]\@=+ \ contained \ contains=@xmlNamespaceHook \ display @@ -122,7 +122,7 @@ endif " ^^^ " syn match xmlTagName - \ +[<]\@<=[^ /!?<>"']\++ + \ +[<]\@2<=[^ /!?<>"']\++ \ contained \ contains=xmlNamespace,xmlAttribPunct,@xmlTagHook \ display |