Skip to content

Commit 983fd0c

Browse files
authored
Merge branch 'main' into fix-active-context-star
2 parents 5f91bcc + d1dd588 commit 983fd0c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

lang/talon/talon.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,3 +138,9 @@ def code_insert_function(text: str, selection: str):
138138
text += f"({selection or ''})"
139139
actions.user.paste(text)
140140
actions.edit.left()
141+
142+
def code_insert_true():
143+
actions.auto_insert("true")
144+
145+
def code_insert_false():
146+
actions.auto_insert("false")

lang/talon/talon.talon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ tag(): user.code_operators_math
44
tag(): user.code_operators_assignment
55
tag(): user.code_comment_line
66
tag(): user.code_functions_common
7+
tag(): user.code_data_bool
78
# uncomment user.talon_populate_lists tag to activate talon-specific lists of actions, scopes, modes etcetera.
89
# Do not enable this tag with dragon, as it will be unusable.
910
# with conformer, the latency increase may also be unacceptable depending on your cpu

0 commit comments

Comments
 (0)