Changed ]]> to \]\]> to remove warning.

This commit is contained in:
Yann Esposito (Yogsototh) 2011-11-16 10:11:24 +01:00
parent 5591ac2778
commit 1e032a479a
3 changed files with 9 additions and 9 deletions

View file

@ -131,7 +131,7 @@ repository:
"0":
name: punctuation.definition.constant.xml
begin: <!\[CDATA\[
end: "]]>"
end: "\]\]>"
comment: the extra captures are required to duplicate the effect of the namespace parsing in the XML syntax
- captures:
"1":
@ -238,7 +238,7 @@ repository:
"0":
name: punctuation.definition.string.xml
begin: <!\[CDATA\[
end: "]]>"
end: "\]\]>"
comment: Strings
- captures:
"1":
@ -260,7 +260,7 @@ repository:
"1":
name: constant.numeric.real.xml.plist
begin: (<!\[CDATA\[)
end: (]]>)
end: (\]\]>)
patterns:
- name: constant.numeric.real.xml.plist
match: "[-+]?\\d+(\\.\\d*)?(E[-+]\\d+)?"

View file

@ -168,11 +168,11 @@ repository:
- include: "#sgml-comment"
- name: meta.scope.xml-cdata.html
begin: <!\[CDATA\[
end: "]]>"
end: "\]\]>"
patterns:
- include: source.css
- name: invalid.illegal.char_not_allowed
match: <|>|]]>|--
match: <|>|\]\]>|--
- include: "#entities"
- include: source.css
- name: meta.tag.meta.style.html
@ -1040,11 +1040,11 @@ repository:
- include: "#sgml-comment"
- name: meta.scope.xml-cdata.html
begin: <!\[CDATA\[
end: "]]>"
end: "\]\]>"
patterns:
- include: source.js
- name: invalid.illegal.char_not_allowed
match: <|>|]]>|--
match: <|>|\]\]>|--
- include: "#entities"
- include: source.js
- name: meta.tag.block.script.html
@ -3245,7 +3245,7 @@ repository:
- include: "#sgml-comment"
- name: meta.scope.xml-cdata.html
begin: <!\[CDATA\[
end: "]]>"
end: "\]\]>"
attribute-cellspacing:
name: meta.attribute-with-value.html
begin: (cellpadding)\s*=\s*(?=(["']).*?["'])

View file

@ -175,6 +175,6 @@ patterns:
beginCaptures:
"0":
name: punctuation.definition.string.begin.xml
end: "]]>"
end: "\]\]>"
foldingStopMarker: ^\s*(</[^>]+>|[/%]>|-->)\s*$
keyEquivalent: ^~X