Skip to content

Commit 36d7d17

Browse files
Merge branch 'main' into multilineTail
2 parents 88a4cc7 + 5448c2e commit 36d7d17

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

cursorless-talon/src/spoken_scope_forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ def init_scope_spoken_forms(graphemes_talon_list: dict[str, str]):
1212
def create_flattened_talon_list(ctx: Context, graphemes_talon_list: dict[str, str]):
1313
lists_to_merge = {
1414
"cursorless_scope_type": "simple",
15-
"cursorless_surrounding_pair_scope_type": "surroundingPair",
1615
"cursorless_selectable_only_paired_delimiter": "surroundingPair",
1716
"cursorless_wrapper_selectable_paired_delimiter": "surroundingPair",
17+
"cursorless_surrounding_pair_scope_type": "surroundingPair",
1818
}
1919
# If the user have no custom regex scope type, then that list is missing from the context
2020
if "user.cursorless_custom_regex_scope_type" in ctx.lists.keys(): # noqa: SIM118
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
languageId: typescript
2+
command:
3+
version: 7
4+
spokenForm: change string
5+
action:
6+
name: clearAndSetSelection
7+
target:
8+
type: primitive
9+
modifiers:
10+
- type: containingScope
11+
scopeType: {type: surroundingPair, delimiter: string}
12+
usePrePhraseSnapshot: true
13+
initialState:
14+
documentContents: "`hello`"
15+
selections:
16+
- anchor: {line: 0, character: 1}
17+
active: {line: 0, character: 1}
18+
marks: {}
19+
finalState:
20+
documentContents: ""
21+
selections:
22+
- anchor: {line: 0, character: 0}
23+
active: {line: 0, character: 0}

0 commit comments

Comments
 (0)