diff options
author | arslee07 | 2023-08-23 16:11:51 +0000 |
---|---|---|
committer | GitHub | 2023-08-23 16:11:51 +0000 |
commit | 75c5a33028f2b0502af45488d1a61f547ee87ec8 (patch) | |
tree | 058dc2d3816832df53b714199471482f83d194c1 | |
parent | 546c8ca344afe67add59af65b5548d98975d3687 (diff) |
Highlight Dart 3 `sealed` and `base` keywords (#7974)
-rw-r--r-- | runtime/queries/dart/highlights.scm | 4 |
1 files changed, 3 insertions, 1 deletions
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 |