mirror of https://github.com/helix-editor/helix
Add textobject for entries/elements of list-like things (#8150)
parent
47ef9f0ca2
commit
1abb64e48d
@ -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
|
@ -0,0 +1,5 @@
|
||||
(pair
|
||||
(_) @entry.inside) @entry.around
|
||||
|
||||
(array
|
||||
(_) @entry.around)
|
@ -0,0 +1,5 @@
|
||||
(pair
|
||||
(_) @entry.inside) @entry.around
|
||||
|
||||
(array
|
||||
(_) @entry.around)
|
Loading…
Reference in New Issue