aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/rust/textobjects.scm
Commit message (Collapse)AuthorAge
* Add Rust fields as argument textobject (#9637)Vivek Kethineni2024-02-17
| | | | | * added field_declaration_list and field_initializer_list as parameter textobjects * removed field_declaration_listt from textobjects.scm
* fix formatting in the rust textobject query fileJesse Luehrs2023-08-14
| | | | | looks like two lines were unintentionally joined - it doesn't appear to affect the functionality, but it's confusing to read
* fix: Outdated Rust queries after TS updateAlexis (Poliorcetics) Bourget2022-11-12
| | | | Ref: https://github.com/tree-sitter/tree-sitter-rust/commit/3ddebf46e6fe5e27fa03dc07a829a766b9979c8d
* Fix rust text objects (#3590)David2022-08-28
|
* add test textobjects queries for erlang,gleam,go,python,rustMichael Davis2022-06-21
|
* capture rust closures as function textobjectsMichael Davis2022-06-07
| | | | | | | | | Closures like iter.map(|a| a + 1) Are sort-of functions, so `]f` or `maf` or `mif` can apply to them as well as named function definitions.
* Add `parameter.around` text object queryAndrey Tkachenko2022-05-25
|
* Include macro attributes to impls, structs, enums, functions etc. ↵Andrey Tkachenko2022-05-20
| | | | textobjects (#2494)
* Add comment textobject for surround selection and navigation (#1605)Daniel S Poulin2022-03-06
|
* Add treesitter textobjects (#728)Gokul Soumya2021-10-23
* Add treesitter textobject queries Only for Go, Python and Rust for now. * Add tree-sitter textobjects Only has functions and class objects as of now. * Fix tests * Add docs for tree-sitter textobjects * Add guide for creating new textobject queries * Add parameter textobject Only parameter.inside is implemented now, parameter.around will probably require custom predicates akin to nvim' `make-range` since we want to select a trailing comma too (a comma will be an anonymous node and matching against them doesn't work similar to named nodes) * Simplify TextObject cell init