mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 01:46:18 +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
|