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/runtime/queries/rust
Michael Davis 9753da6ab7
Fix locals tracking in Rust closures (#3027)
The fix comes from the rewriting of the `closure_parameters` stanza:
it was capturing the entire `closure_parameters` node including
paretheses, whitespace, and commas. Capturing the identifiers within
fixes the tracking.

In order to make sure locals definitions from closure parameters don't
leak out of the body of the closure, though, we should also mark the
closure itself as a locals scope.
2 years ago
..
highlights.scm rust: fix highlight corner-cases 2 years ago
indents.scm Indentation rework (#1562) 3 years ago
injections.scm add tree-sitter-regex (#1362) 3 years ago
locals.scm Fix locals tracking in Rust closures (#3027) 2 years ago
textobjects.scm add test textobjects queries for erlang,gleam,go,python,rust 2 years ago