highlights(fortran): use more specific groups

This commit is contained in:
ObserverOfTime 2022-10-22 16:28:16 +03:00
parent da4f4b007c
commit 21cf4eff37

View file

@ -6,34 +6,43 @@
[ [
(intrinsic_type) (intrinsic_type)
"pointer"
] @type
[
"allocatable" "allocatable"
"attributes" "attributes"
"device" "device"
"dimension" "dimension"
"endtype"
"global" "global"
"grid_global" "grid_global"
"host" "host"
"import" "optional"
"private"
"public"
"value"
] @type.qualifier
[
"endtype"
"type"
] @type.definition
[
"in" "in"
"inout" "inout"
"intent"
"optional"
"out" "out"
"pointer" ] @storageclass
"type"
"value"
] @type
[ [
"contains" "contains"
"private" "import"
"public"
] @include ] @include
[ [
(none) (none)
"implicit" "implicit"
"intent"
] @attribute ] @attribute
[ [
@ -167,7 +176,7 @@
(name) @function) (name) @function)
(subroutine_call (subroutine_call
(name) @function) (name) @function)
(keyword_argument (keyword_argument
name: (identifier) @keyword) name: (identifier) @keyword)