diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-01 14:50:56 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-01 14:50:56 +0200 |
commit | 543b7ef7000d08d77409478315d68b607bb8bad8 (patch) | |
tree | 387cd45294ce55a130556d4e22a0b7706156b1fd /runtime/syntax/xml.vim | |
parent | 3737fc1c30a559c82c57b5ce6aedae76cbeabaef (diff) | |
download | vim-543b7ef7000d08d77409478315d68b607bb8bad8.zip |
Updated runtime files and translations.
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 |