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
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
..
bash Update bash tree sitter (#1917) 3 years ago
c Introduce storage_class highlight scope (#2731) 2 years ago
c-sharp C# highlighting improvements (#1795) 3 years ago
cairo Add Cairo support 3 years ago
clojure Add clojure language support (#2780) 2 years ago
cmake Indentation rework (#1562) 3 years ago
comment Add tree-sitter-comment (#1300) 3 years ago
cpon feat(lang): Cpon lang support (#2355) 3 years ago
cpp Indentation rework (#1562) 3 years ago
css tree sitter comments injections (#1527) 3 years ago
dart Indentation rework (#1562) 3 years ago
devicetree feat(lang): add devicetree (Flattened Device Tree Source) (#2329) 3 years ago
dockerfile Support dockerfiles (#1303) 3 years ago
edoc edoc: prevent rogue punctuation highlights 2 years ago
eex add tree-sitter-eex 3 years ago
ejs add tree-sitter-embedded-template (erb & ejs) (#2055) 3 years ago
elixir text-objects: add test capture & elixir queries 2 years ago
elm Fix some typos (#2978) 2 years ago
elvish languages: added elvish (#2948) 2 years ago
erb add tree-sitter-embedded-template (erb & ejs) (#2055) 3 years ago
erlang erlang: highlight modules in behaviour attributes 2 years ago
fish Fixing (in two ways) a small typo (#2156) 3 years ago
fortran add fortran language (#3025) 2 years ago
gdscript gdscript support (#1985) 3 years ago
git-attributes feat(languages): git-ignore and git-attributes (#2397) 3 years ago
git-commit Fix some typos (#2978) 2 years ago
git-config add tree-sitter-git-config (#1426) 3 years ago
git-diff Add tree-sitter-git-diff (#1373) 3 years ago
git-ignore feat(languages): git-ignore and git-attributes (#2397) 3 years ago
git-rebase add tree-sitter-git-rebase (#1402) 3 years ago
gleam add test textobjects queries for erlang,gleam,go,python,rust 2 years ago
glsl Add textobjects.scm to GLSL (#3051) 2 years ago
go add test textobjects queries for erlang,gleam,go,python,rust 2 years ago
gomod feat(lang): add go.mod and go.work support (#2197) 3 years ago
gowork feat(lang): add go.mod and go.work support (#2197) 3 years ago
graphql feat(languages): GraphQL (#1515) 3 years ago
hare feat(lang): add hare language support (#2289) 3 years ago
haskell tree sitter comments injections (#1527) 3 years ago
hcl replace constant.number with constant.numeric (#2389) 3 years ago
heex replace module captures with namespace 2 years ago
html html: highlight punctuation 2 years ago
iex add tree-sitter-iex (#1576) 3 years ago
java tree sitter comments injections (#1527) 3 years ago
javascript Introduce storage highlighting for typescript/javascript (#2961) 2 years ago
jsdoc adds missing tree-sitter-comment injection for js/ts (#2763) 2 years ago
json Indentation rework (#1562) 3 years ago
jsx separate JSX queries from javascript (#1921) 3 years ago
julia tree sitter comments injections (#1527) 3 years ago
kotlin Fix some typos (#2978) 2 years ago
latex tree sitter comments injections (#1527) 3 years ago
lean Fix some typos (#2978) 2 years ago
ledger Remove broken ledger tag highlight (#2988) 2 years ago
llvm Indentation rework (#1562) 3 years ago
llvm-mir Indentation rework (#1562) 3 years ago
llvm-mir-yaml Indentation rework (#1562) 3 years ago
lua Indentation rework (#1562) 3 years ago
make Fix some typos (#2978) 2 years ago
markdown markdown: limit raw block highlight to code fence content 2 years ago
meson feat(lang): add Meson language support (#2314) 3 years ago
nickel feat(lang): Update nickel to include "rec" keyword (#2320) 3 years ago
nix feat(lang): Update Nix grammar & improve queries (#2472) 3 years ago
nu feat(lang): add nushell language support (#2225) 3 years ago
ocaml Indentation rework (#1562) 3 years ago
ocaml-interface tree sitter comments injections (#1527) 3 years ago
odin feat(languages): add odin language (#2399) 3 years ago
openscad support for openscad (#2680) 3 years ago
org Initial basic Org markup support thanks to tree-sitter-org (#1845) 3 years ago
perl Indentation rework (#1562) 3 years ago
php Add `parameter.around` text object query 3 years ago
prisma add prisma tree-sitter and lsp support (#2703) 3 years ago
protobuf Indentation rework (#1562) 3 years ago
python Disable tree-sitter python indents, use fallback for now 2 years ago
r add languages `r` and `rmarkdown` (#1998) 3 years ago
regex add tree-sitter-regex (#1362) 3 years ago
rescript Fix Rescript hightlights query (#1863) 3 years ago
rmarkdown add languages `r` and `rmarkdown` (#1998) 3 years ago
ron add language `ron` (#1925) 3 years ago
ruby Ruby TextObjects and more file extensions (#2143) 3 years ago
rust Fix locals tracking in Rust closures (#3027) 2 years ago
scala Indentation rework (#1562) 3 years ago
scheme Add Scheme support 3 years ago
scss Add SCSS language support (#3074) 2 years ago
solidity Fix some typos (#2978) 2 years ago
sql feat(languages): SQL (#2097) 3 years ago
sshclientconfig Add tree-sitter ssh client config queries (#2498) 3 years ago
starlark support Bazel languages (#2903) 2 years ago
svelte Indentation rework (#1562) 3 years ago
swift Add swift language (#2033) 3 years ago
tablegen Indentation rework (#1562) 3 years ago
toml TOML highlight: use variable.other.member instead of string for quoted keys (#2391) 3 years ago
tsq Update TSQ queries (#2960) 2 years ago
tsx tree sitter comments injections (#1527) 3 years ago
twig epocsquadron/add tree sitter twig (#1602) 3 years ago
typescript Introduce storage highlighting for typescript/javascript (#2961) 2 years ago
ungrammar Added ungrammar language support (#3048) 2 years ago
v Add Vlang tree-sitter in the languages.toml (#2526) 3 years ago
vala feat(lsp): add vala language support (#2243) 3 years ago
verilog Fix some typos (#2978) 2 years ago
vue tree sitter comments injections (#1527) 3 years ago
wgsl tree sitter comments injections (#1527) 3 years ago
yaml Indentation rework (#1562) 3 years ago
zig Indentation rework (#1562) 3 years ago