highlights(d): use more specific groups

This commit is contained in:
ObserverOfTime 2022-10-22 14:00:03 +03:00
parent c2d9cf9926
commit f30ae4da0d

View file

@ -114,44 +114,25 @@
] @repeat ] @repeat
[ [
"__gshared"
"__parameters" "__parameters"
"abstract"
"alias" "alias"
"align" "align"
"asm" "asm"
"auto" "auto"
"body" "body"
"class" "class"
"const"
"debug" "debug"
"deprecated"
"enum" "enum"
"export" "export"
"extern"
"final"
"goto" "goto"
"immutable"
"inout"
"interface" "interface"
"invariant" "invariant"
"lazy"
"macro" "macro"
"nothrow"
"null"
"out" "out"
"override" "override"
"package" "package"
"private"
"protected"
"public"
"pure"
"ref"
"scope"
"shared"
"static" "static"
"struct" "struct"
"synchronized"
"template" "template"
"union" "union"
"unittest" "unittest"
@ -219,6 +200,35 @@
"try" "try"
] @exception ] @exception
"null" @constant.builtin
[
"__gshared"
"const"
"immutable"
"shared"
] @storageclass
[
"abstract"
"deprecated"
"extern"
"final"
"inout"
"lazy"
"nothrow"
"private"
"protected"
"public"
"pure"
"ref"
"scope"
"synchronized"
] @type.qualifier
(alias_assignment
. (identifier) @type.definition)
(module_declaration (module_declaration
"module" @include "module" @include
) )