Skip to content

Commit 2e36caf

Browse files
Default value for preferred scope setting
1 parent 8cf3464 commit 2e36caf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cursorless-talon/src/modifiers/simple_scope_modifier.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
mod.setting(
1818
"private_cursorless_use_preferred_scope",
1919
bool,
20+
default=False,
2021
desc="Use preferred scope instead of containing scope for all scopes by default (EXPERIMENTAL)",
2122
)
2223

@@ -42,7 +43,7 @@ def cursorless_simple_scope_modifier(m) -> dict[str, Any]:
4243
"ancestorIndex": 1,
4344
}
4445

45-
if settings.get("user.private_cursorless_use_preferred_scope", False):
46+
if settings.get("user.private_cursorless_use_preferred_scope"):
4647
return {
4748
"type": "preferredScope",
4849
"scopeType": m.cursorless_scope_type,

0 commit comments

Comments
 (0)