From 8ca5b07dc62cead731690075b75d589de28218da Mon Sep 17 00:00:00 2001 From: Andreas Arvidsson Date: Fri, 7 Feb 2025 05:55:38 +0100 Subject: [PATCH] Only context override snippet insertion when Cursorless tag is active --- cursorless-talon/src/snippets/snippets.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cursorless-talon/src/snippets/snippets.py b/cursorless-talon/src/snippets/snippets.py index 470cdcf27d..0bd0982608 100644 --- a/cursorless-talon/src/snippets/snippets.py +++ b/cursorless-talon/src/snippets/snippets.py @@ -26,7 +26,8 @@ ctx = Context() ctx.matches = r""" -not tag: user.code_language_forced +tag: user.cursorless +and not tag: user.code_language_forced """ mod.list("cursorless_insert_snippet_action", desc="Cursorless insert snippet action")