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/runtime/queries
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
..
bash Add tree-sitter queries. 4 years ago
c runtime: Query improvements 3 years ago
c-sharp Enable c-sharp language and highlights (#861) 3 years ago
cmake CMake support (#888) 3 years ago
cpp Import tree sitter queries. 4 years ago
css Add tree-sitter queries. 4 years ago
elixir scope arities in captures as operators 3 years ago
go Add treesitter textobjects (#728) 3 years ago
haskell Improve highlighting scopes 3 years ago
html Add tree-sitter queries. 4 years ago
java fix digit escapes in java & php highlights (#846) 3 years ago
javascript runtime: Query improvements 3 years ago
json Add tree-sitter queries. 4 years ago
julia Improve grammar definitions 3 years ago
latex Improve grammar definitions 3 years ago
ledger Update ledger treesitter injections (#732) 3 years ago
lua Improve highlighting scopes 3 years ago
nix Improve nix indents 3 years ago
ocaml Improve docs, fix up a few highlight scopes 3 years ago
ocaml-interface OCaml support (#666) 3 years ago
php fix digit escapes in java & php highlights (#846) 3 years ago
protobuf fix: add missing optional keyword to protobuf syntax 3 years ago
python Add treesitter textobjects (#728) 3 years ago
ruby runtime: Query improvements 3 years ago
rust Add treesitter textobjects (#728) 3 years ago
svelte languages: add svelte support (#733) 3 years ago
toml Add tree-sitter queries. 4 years ago
tsq Add highlight support for tree-sitter-query language (tsq) (#845) 3 years ago
tsx At least partly highlight tsx 3 years ago
typescript Add typescript support & ts/js indentation queries 4 years ago
vue Add Vue tree sitter grammar (#787) 3 years ago
yaml Improve grammar definitions 3 years ago
zig Zig tree-sitter rework (#811) 3 years ago