Add textobject for entries/elements of list-like things (#8150)

This commit is contained in:
Daniel S Poulin 2024-03-31 12:53:15 -04:00 committed by GitHub
parent 47ef9f0ca2
commit 1abb64e48d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 145 additions and 3 deletions

View file

@ -0,0 +1,23 @@
(type_definition) @class.around
(executable_definition) @function.around
(arguments_definition
(input_value_definition) @parameter.inside @parameter.movement)
(arguments
(argument) @parameter.inside @parameter.movement)
(selection
[(field) (fragment_spread)] @entry.around)
(selection
(field (selection_set) @entry.inside))
(field_definition
(_) @entry.inside) @entry.around
(input_fields_definition
(input_value_definition ) @entry.around)
(enum_value) @entry.around