helix-mods/runtime
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.
2022-07-20 11:51:35 +09:00
..
grammars Dynamically load grammar libraries at runtime 2021-07-14 10:00:05 +09:00
queries Fix locals tracking in Rust closures (#3027) 2022-07-20 11:51:35 +09:00
themes Add cursorline colour to darkplus theme (#3054) 2022-07-12 15:18:41 -05:00
tutor.txt Restore section spacing in tutor. (#2791) 2022-06-16 17:28:55 -05:00