mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -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)
|
||||
"pointer"
|
||||
] @type
|
||||
|
||||
[
|
||||
"allocatable"
|
||||
"attributes"
|
||||
"device"
|
||||
"dimension"
|
||||
"endtype"
|
||||
"global"
|
||||
"grid_global"
|
||||
"host"
|
||||
"import"
|
||||
"optional"
|
||||
"private"
|
||||
"public"
|
||||
"value"
|
||||
] @type.qualifier
|
||||
|
||||
[
|
||||
"endtype"
|
||||
"type"
|
||||
] @type.definition
|
||||
|
||||
[
|
||||
"in"
|
||||
"inout"
|
||||
"intent"
|
||||
"optional"
|
||||
"out"
|
||||
"pointer"
|
||||
"type"
|
||||
"value"
|
||||
] @type
|
||||
] @storageclass
|
||||
|
||||
[
|
||||
"contains"
|
||||
"private"
|
||||
"public"
|
||||
"import"
|
||||
] @include
|
||||
|
||||
[
|
||||
(none)
|
||||
"implicit"
|
||||
"intent"
|
||||
] @attribute
|
||||
|
||||
[
|
||||
|
|
@ -167,7 +176,7 @@
|
|||
(name) @function)
|
||||
|
||||
(subroutine_call
|
||||
(name) @function)
|
||||
(name) @function)
|
||||
|
||||
(keyword_argument
|
||||
name: (identifier) @keyword)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue