Highlight Dart 3 sealed
and base
keywords (#7974)
This commit is contained in:
parent
546c8ca344
commit
75c5a33028
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue