We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3602066 commit 8829946Copy full SHA for 8829946
cursorless-talon/src/fallback.py
@@ -91,6 +91,9 @@ def get_modifier_callback(modifier: dict) -> Callable:
91
case "containingScope":
92
scope_type_type = modifier["scopeType"]["type"]
93
return get_simple_modifier_callback(f"{modifier_type}.{scope_type_type}")
94
+ case "preferredScope":
95
+ scope_type_type = modifier["scopeType"]["type"]
96
+ return get_simple_modifier_callback(f"containingScope.{scope_type_type}")
97
case "extendThroughStartOf":
98
if "modifiers" not in modifier:
99
return get_simple_modifier_callback(f"{modifier_type}.line")
0 commit comments