161fef2166
- Added syntax highlighting for the DTD subset of the XML spec. - Included .dtd and .ent as common file extensions
39 lines
424 B
Scheme
39 lines
424 B
Scheme
; highlights.scm
|
|
|
|
(comment) @comment
|
|
|
|
[
|
|
"ELEMENT"
|
|
"ATTLIST"
|
|
] @keyword
|
|
|
|
[
|
|
"#REQUIRED"
|
|
"#IMPLIED"
|
|
"#FIXED"
|
|
"#PCDATA"
|
|
] @keyword.directive
|
|
|
|
[
|
|
"EMPTY"
|
|
"ANY"
|
|
"SYSTEM"
|
|
"PUBLIC"
|
|
] @constant
|
|
|
|
(element_name) @module
|
|
|
|
|
|
(attribute_name) @attribute
|
|
|
|
(system_literal) @string
|
|
(pubid_literal) @string
|
|
(attribute_value) @string
|
|
|
|
[
|
|
">"
|
|
"</"
|
|
"<?"
|
|
"?>"
|
|
"<!"
|
|
] @punctuation.bracket
|