mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
highlights(graphql): fix captures
This commit is contained in:
parent
276627849b
commit
c44c7e4367
1 changed files with 8 additions and 7 deletions
|
|
@ -19,12 +19,6 @@
|
||||||
(input_object_type_definition
|
(input_object_type_definition
|
||||||
(name) @type)
|
(name) @type)
|
||||||
|
|
||||||
(directive_definition
|
|
||||||
(name) @type)
|
|
||||||
|
|
||||||
(directive_definition
|
|
||||||
"@" @type)
|
|
||||||
|
|
||||||
(scalar_type_extension
|
(scalar_type_extension
|
||||||
(name) @type)
|
(name) @type)
|
||||||
|
|
||||||
|
|
@ -46,7 +40,14 @@
|
||||||
(named_type
|
(named_type
|
||||||
(name) @type)
|
(name) @type)
|
||||||
|
|
||||||
(directive) @type
|
; Directives
|
||||||
|
;-----------
|
||||||
|
|
||||||
|
(directive_definition
|
||||||
|
"@" @attribute
|
||||||
|
(name) @attribute)
|
||||||
|
|
||||||
|
(directive) @attribute
|
||||||
|
|
||||||
; Properties
|
; Properties
|
||||||
;-----------
|
;-----------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue