aboutsummaryrefslogtreecommitdiffstats
path: root/queries/dtd/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/dtd/highlights.scm')
-rw-r--r--queries/dtd/highlights.scm17
1 files changed, 6 insertions, 11 deletions
diff --git a/queries/dtd/highlights.scm b/queries/dtd/highlights.scm
index e573ca387..9afd6e38b 100644
--- a/queries/dtd/highlights.scm
+++ b/queries/dtd/highlights.scm
@@ -1,17 +1,17 @@
-; XML declaration
-(XMLDecl
+; Text declaration
+(TextDecl
"xml" @keyword.directive)
-(XMLDecl
+(TextDecl
[
"version"
"encoding"
] @tag.attribute)
-(XMLDecl
+(TextDecl
(EncName) @string.special)
-(XMLDecl
+(TextDecl
(VersionNum) @number)
; Processing instructions
@@ -65,12 +65,6 @@
"NOTATION" @keyword.directive
(Name) @label)
-(NotationDecl
- (ExternalID
- (SystemLiteral
- (URI) @string.special.url))
- (#set! priority 105))
-
; Attlist declaration
(AttlistDecl
"ATTLIST" @keyword.directive.define
@@ -124,6 +118,7 @@
"?>"
"<!"
">"
+ "<!["
"]]>"
] @tag.delimiter