Skip to content

Commit

Permalink
Fix boundedNonWhitespaceSequence in cheatsheet (#1917)
Browse files Browse the repository at this point in the history
Fixes cheatsheet bug introduced in #1698 which only updated spoken form
in defaults.json, which is used by cursorless.org/cheatsheet, but didn't
update the code path that is used when user says "cursorless cheatsheet"

## 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
pokey authored and cursorless-bot committed Sep 28, 2023
1 parent bd52296 commit d3ae76b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cheatsheet/sections/scopes.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ def get_scopes():
return get_lists(
["scope_type"],
"scopeType",
{"argumentOrParameter": "Argument"},
{
"argumentOrParameter": "Argument",
"boundedNonWhitespaceSequence": "Non whitespace sequence stopped by surrounding pair delimeters",
},
)

0 comments on commit d3ae76b

Please sign in to comment.