Skip to content

Commit 6730477

Browse files
Fix
1 parent a686e19 commit 6730477

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cursorless-talon/src/snippets.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,8 @@ def private_cursorless_insert_community_snippet(
132132
"""Cursorless: Insert community snippet <name>"""
133133
insert_community_snippet(
134134
name,
135-
substitutions=None,
136-
destination=destination,
135+
None, # substitutions
136+
destination,
137137
)
138138

139139
def private_cursorless_wrap_with_community_snippet(
@@ -149,6 +149,7 @@ def to_scope_types(scope_types: str | list[str] | None) -> list[ScopeType] | Non
149149
return [ScopeType(scope_types)]
150150
elif scope_types is not None:
151151
return [ScopeType(st) for st in scope_types]
152+
return None
152153

153154

154155
def get_insertion_snippets(name: str) -> list[CommunityInsertionSnippet]:

0 commit comments

Comments
 (0)