Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/python/textobjects.scm')
| -rw-r--r-- | runtime/queries/python/textobjects.scm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/queries/python/textobjects.scm b/runtime/queries/python/textobjects.scm index 966e4744..2b9556fc 100644 --- a/runtime/queries/python/textobjects.scm +++ b/runtime/queries/python/textobjects.scm @@ -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 |