mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17: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
|
||||
(name) @type)
|
||||
|
||||
(directive_definition
|
||||
(name) @type)
|
||||
|
||||
(directive_definition
|
||||
"@" @type)
|
||||
|
||||
(scalar_type_extension
|
||||
(name) @type)
|
||||
|
||||
|
|
@ -46,7 +40,14 @@
|
|||
(named_type
|
||||
(name) @type)
|
||||
|
||||
(directive) @type
|
||||
; Directives
|
||||
;-----------
|
||||
|
||||
(directive_definition
|
||||
"@" @attribute
|
||||
(name) @attribute)
|
||||
|
||||
(directive) @attribute
|
||||
|
||||
; Properties
|
||||
;-----------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue