mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 02:46:17 +04:00
161fef2166
- Added syntax highlighting for the DTD subset of the XML spec. - Included .dtd and .ent as common file extensions
40 lines
424 B
Scheme
40 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
|