mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 09:20:04 -04:00
highlights(fortran): use more specific groups
This commit is contained in:
parent
da4f4b007c
commit
21cf4eff37
1 changed files with 20 additions and 11 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue