handle xsl and namespaced close tags better
--HG-- branch : pmacs2
This commit is contained in:
parent
67a74b2d09
commit
550e063634
|
@ -7,7 +7,7 @@ class TagGrammar(Grammar):
|
|||
RegionRule(r'string', r"'", Grammar, r"'"),
|
||||
PatternRule(r'namespace', r'[a-zA-Z_]+:'),
|
||||
PatternRule(r'attrname', r'[^ =>\n]+(?==)'),
|
||||
PatternRule(r'name', r'[^\[\] =>\n]+'),
|
||||
PatternRule(r'name', r'[^/\[\] =>\n]+'),
|
||||
]
|
||||
|
||||
class XMLGrammar(Grammar):
|
||||
|
@ -37,7 +37,7 @@ class XmlCreateTag(method.Method):
|
|||
|
||||
class XML(mode.Fundamental):
|
||||
modename = 'XML'
|
||||
extensions = ['.xml', '.xml.in']
|
||||
extensions = ['.xml', '.xml.in', '.xsl']
|
||||
grammar = XMLGrammar
|
||||
colors = {
|
||||
'xml_tag.start': ('default', 'default', 'bold'),
|
||||
|
|
Loading…
Reference in New Issue