Skip to content

Commit 9e77880

Browse files
AndreasArvidssonpokeyphillco
authored
Proper handling of surrounding pair delimiter prefixes (#2705)
On main `"take inside"` on `"command server"` will only select `command serve` because `r"` is considered a delimiter. This pull request fixes this. ## Checklist - [x] 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 --------- Co-authored-by: Pokey Rule <[email protected]> Co-authored-by: Phil Cohen <[email protected]>
1 parent e700ce2 commit 9e77880

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/spoken_forms.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ def handle_new_values(csv_name: str, values: list[SpokenFormEntry]):
160160
"private.switchStatementSubject",
161161
"textFragment",
162162
"disqualifyDelimiter",
163+
"pairDelimiter",
163164
],
164165
default_list_name="scope_type",
165166
),

0 commit comments

Comments
 (0)