Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 8603d41ba9
Fetching contributors…

Cannot retrieve contributors at this time

93 lines (91 sloc) 2.41 kB
---
name: XML strict
fileTypes: []
scopeName: text.xml.strict
uuid: 74AEC234-DD4D-4AB1-B855-253E34E34BFE
foldingStartMarker: ^\s*(<[^!?%/](?!.+?(/>|</.+?>))|<[!%]--(?!.+?--%?>)|<%[!]?(?!.+?%>))
patterns:
- name: meta.tag.processing-instruction.xml
captures:
"0":
name: punctuation.definition.tag.xml
begin: <\?
end: ">"
- name: meta.tag.sgml.xml
captures:
"0":
name: punctuation.definition.tag.xml
begin: <!
end: ">"
- name: meta.tag.xml
endCaptures:
"6":
name: entity.name.tag.localname.xml
"7":
name: punctuation.definition.tag.xml
"8":
name: invalid.illegal.unexpected-end-tag.xml
"1":
name: punctuation.definition.tag.xml
"2":
name: punctuation.definition.tag.xml
"3":
name: entity.name.tag.namespace.xml
"4":
name: entity.name.tag.xml
"5":
name: punctuation.separator.namespace.xml
begin: (<)(?:([-_[:alnum:]]+)((:)))?([-_.:[:alnum:]]+)
beginCaptures:
"6":
name: invalid.illegal.unexpected-end-tag.xml
"1":
name: punctuation.definition.tag.xml
"2":
name: entity.name.tag.namespace.xml
"3":
name: entity.name.tag.xml
"4":
name: punctuation.separator.namespace.xml
"5":
name: entity.name.tag.localname.xml
end: (/>)|(</)(\2)((\4))(\5)(>)|(</[-_.:[:alnum:]]+>)
patterns:
- captures:
"1":
name: entity.other.attribute-name.namespace.xml
"2":
name: entity.other.attribute-name.xml
"3":
name: punctuation.separator.namespace.xml
"4":
name: entity.other.attribute-name.localname.xml
match: \s+(?:([-_a-zA-Z0-9]+)((:)))?([a-zA-Z-]+)=
- name: string.quoted.double.xml
endCaptures:
"0":
name: punctuation.definition.string.end.xml
begin: "\""
beginCaptures:
"0":
name: punctuation.definition.string.begin.xml
end: "\""
- name: string.quoted.single.xml
endCaptures:
"0":
name: punctuation.definition.string.end.xml
begin: "'"
beginCaptures:
"0":
name: punctuation.definition.string.begin.xml
end: "'"
- name: meta.tag-content.xml
begin: ">"
beginCaptures:
"0":
name: punctuation.definition.tag.xml
end: (?=</)
patterns:
- include: $self
foldingStopMarker: ^\s*(</[^>]+>|[/%]>|-->)\s*$
keyEquivalent: ^~X
Jump to Line
Something went wrong with that request. Please try again.