helix-mods/helix-term/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
2021-10-23 11:41:19 +09:00
..
ui Update to rust 1.56 + 2021 edition 2021-10-22 12:15:18 +09:00
application.rs Ignore errors when disabling mouse capture 2021-10-20 00:01:11 +09:00
args.rs Address nightly clippy warnings 2021-06-27 13:27:47 +09:00
commands.rs Add treesitter textobjects (#728) 2021-10-23 11:41:19 +09:00
compositor.rs Fix doctest broken on 2021 edition 2021-10-22 12:47:02 +09:00
config.rs config: Rename [terminal] to [editor] and pass it into Editor 2021-08-08 14:10:01 +09:00
job.rs Drop some &mut bounds where & would have sufficed 2021-09-06 15:25:46 +09:00
keymap.rs Implement 'remove_primary_selection' as Alt-, 2021-09-24 10:30:28 +09:00
lib.rs Remove #[allow(unused)] from helix-term, and fix unused imports. 2021-07-01 19:06:52 -07:00
main.rs Fix previous broken refactor key into helix-view 2021-06-25 00:39:03 +09:00