mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-27 03:43:29 +04:00
9753da6ab7
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. |
||
---|---|---|
.. | ||
highlights.scm | ||
indents.scm | ||
injections.scm | ||
locals.scm | ||
textobjects.scm |