mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-05 11:57:43 +03:00
Add textobject for entries/elements of list-like things (#8150)
This commit is contained in:
parent
47ef9f0ca2
commit
1abb64e48d
17 changed files with 145 additions and 3 deletions
|
@ -21,3 +21,15 @@
|
|||
name: (identifier) @_name
|
||||
body: (block)? @test.inside) @test.around
|
||||
(#match? @_name "^test_"))
|
||||
|
||||
(list
|
||||
(_) @entry.around)
|
||||
|
||||
(tuple
|
||||
(_) @entry.around)
|
||||
|
||||
(set
|
||||
(_) @entry.around)
|
||||
|
||||
(pair
|
||||
(_) @entry.inside) @entry.around
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue