summaryrefslogtreecommitdiff
path: root/runtime/syntax/xml.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-01 14:50:56 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-01 14:50:56 +0200
commit543b7ef7000d08d77409478315d68b607bb8bad8 (patch)
tree387cd45294ce55a130556d4e22a0b7706156b1fd /runtime/syntax/xml.vim
parent3737fc1c30a559c82c57b5ce6aedae76cbeabaef (diff)
downloadvim-543b7ef7000d08d77409478315d68b607bb8bad8.zip
Updated runtime files and translations.
Diffstat (limited to 'runtime/syntax/xml.vim')
-rw-r--r--runtime/syntax/xml.vim10
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