Skip to content

Commit f309411

Browse files
Only context override snippet insertion when Cursorless tag is active (#2839)
Right now we are trying to use Cursorless to insert snippets no matter if we are actually in vscode or not
1 parent f3cd89b commit f309411

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cursorless-talon/src/snippets/snippets.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
ctx = Context()
2727

2828
ctx.matches = r"""
29-
not tag: user.code_language_forced
29+
tag: user.cursorless
30+
and not tag: user.code_language_forced
3031
"""
3132

3233
mod.list("cursorless_insert_snippet_action", desc="Cursorless insert snippet action")

0 commit comments

Comments
 (0)