Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix value scope nesting in Typescript (cursorless-dev#1929)
We only want nested value scopes if there is more than one declarator in a statement. Before: <img width="186" alt="image" src="https://github.com/cursorless-dev/cursorless/assets/755842/0aaf4491-2c68-4be2-849d-ff5c72ac968a"> After: <img width="185" alt="image" src="https://github.com/cursorless-dev/cursorless/assets/755842/3058a007-73b0-48cc-81dd-6f5b126fa07a"> Unfortunately we have no good way to test this change until we have cursorless-dev#1524 **Edit**: I found a way to test it, but it's a bit hacky. ## Checklist - [ ] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [ ] I have updated the [docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and [cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet) - [ ] I have not broken the cheatsheet
- Loading branch information