Skip to content

Commit 33660f9

Browse files
AndreasArvidssoncursorless-bot
authored andcommitted
Switch statement subject (#2046)
`subject, switchStatementSubject` ## 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
1 parent e816c7d commit 33660f9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/spoken_forms.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,10 @@ def handle_new_values(csv_name: str, values: list[SpokenFormEntry]):
126126
handle_csv(
127127
"modifier_scope_types.csv",
128128
pluralize_lists=["scope_type"],
129-
extra_allowed_values=["private.fieldAccess"],
129+
extra_allowed_values=[
130+
"private.fieldAccess",
131+
"private.switchStatementSubject",
132+
],
130133
default_list_name="scope_type",
131134
),
132135
handle_csv(

0 commit comments

Comments
 (0)