From 75c5a33028f2b0502af45488d1a61f547ee87ec8 Mon Sep 17 00:00:00 2001 From: arslee07 Date: Thu, 24 Aug 2023 01:11:51 +0900 Subject: Highlight Dart 3 `sealed` and `base` keywords (#7974) --- runtime/queries/dart/highlights.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'runtime/queries') diff --git a/runtime/queries/dart/highlights.scm b/runtime/queries/dart/highlights.scm index 9f667d6b..dab58496 100644 --- a/runtime/queries/dart/highlights.scm +++ b/runtime/queries/dart/highlights.scm @@ -200,6 +200,7 @@ "async" "async*" "await" + "base" "class" "covariant" "deferred" @@ -219,6 +220,7 @@ "operator" "part" "required" + "sealed" "set" "show" "static" @@ -230,7 +232,7 @@ ; when used as an identifier: ((identifier) @variable.builtin - (#match? @variable.builtin "^(abstract|as|covariant|deferred|dynamic|export|external|factory|Function|get|implements|import|interface|library|operator|mixin|part|set|static|typedef)$")) + (#match? @variable.builtin "^(abstract|as|base|covariant|deferred|dynamic|export|external|factory|Function|get|implements|import|interface|library|operator|mixin|part|sealed|set|static|typedef)$")) ; Error (ERROR) @error -- cgit v1.2.3-70-g09d2