Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasArvidsson committed Feb 4, 2025
1 parent a686e19 commit 6730477
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cursorless-talon/src/snippets.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ def private_cursorless_insert_community_snippet(
"""Cursorless: Insert community snippet <name>"""
insert_community_snippet(
name,
substitutions=None,
destination=destination,
None, # substitutions
destination,
)

def private_cursorless_wrap_with_community_snippet(
Expand All @@ -149,6 +149,7 @@ def to_scope_types(scope_types: str | list[str] | None) -> list[ScopeType] | Non
return [ScopeType(scope_types)]
elif scope_types is not None:
return [ScopeType(st) for st in scope_types]
return None


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

0 comments on commit 6730477

Please sign in to comment.