You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix-plus/helix-core/src
Gokul Soumya 4ee92cad19
Add treesitter textobjects (#728)
* 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
3 years ago
..
auto_pairs.rs Fix auto pairs return wrong selection (#613) 3 years ago
chars.rs Work on moving code over to LineEnding instead of assuming '\n'. 3 years ago
comment.rs Fixes for new clippy lints in Rust 1.54. 3 years ago
diagnostic.rs Derive debug without feature 3 years ago
diff.rs Remove ExactSizeIterator requirement on Transaction::change 3 years ago
graphemes.rs Better validation method APIs for `Range`. 3 years ago
history.rs Fix all remaining warnings in helix-core except for two. 3 years ago
indent.rs Add treesitter textobjects (#728) 3 years ago
lib.rs feat: merge default languages.toml with user provided languages.toml, add a generic TOML value merge function (#654) 3 years ago
line_ending.rs Make vertical selection movement work properly. 3 years ago
macros.rs Split parts of helix-term into helix-view. 4 years ago
match_brackets.rs Fixes crash on empty rust file. (#592) 3 years ago
movement.rs Fixes for new clippy lints in Rust 1.54. 3 years ago
object.rs Merge branch 'master' into great_line_ending_and_cursor_range_cleanup 3 years ago
path.rs Move path util functions from helix-term to helix-core (#650) 3 years ago
position.rs Document `pos_at_coords` better. 3 years ago
register.rs Implement in-memory prompt history 3 years ago
search.rs Switch to a cleaner range-head moving abstraction. 3 years ago
selection.rs Update mdbook style and fix unreadable table head (#806) 3 years ago
state.rs Reduce State use a bit further 3 years ago
surround.rs Fix buggy surround behavior from #376. 3 years ago
syntax.rs Add treesitter textobjects (#728) 3 years ago
textobject.rs Add treesitter textobjects (#728) 3 years ago
transaction.rs remove unsafe 3 years ago