Skip to content

Commit

Permalink
remove deprecated unprefixed number command, update csharp and python…
Browse files Browse the repository at this point in the history
… commands
  • Loading branch information
chrisnicollo committed Jul 20, 2024
1 parent f0dcb8e commit 22c328e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions core/numbers/numbers_unprefixed.talon
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
not tag: user.prefixed_numbers
-
<user.number_string>:
insert("{number_string}")
user.deprecate_command("2024-01-27", "<number>", "numb <number>")
# not tag: user.prefixed_numbers
# -
# <user.number_string>:
# insert("{number_string}")
# user.deprecate_command("2024-01-27", "<number>", "numb <number>")
2 changes: 1 addition & 1 deletion lang/csharp/csharp.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def code_import():
actions.auto_insert("using ")

def code_comment_line_prefix():
actions.auto_insert("//")
actions.auto_insert("// ") # chrisnicollo EDIT - Added a space to the end

def code_insert_function(text: str, selection: str):
text += f"({selection or ''})"
Expand Down
1 change: 1 addition & 0 deletions lang/python/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
# chrisnicollo EDIT END

ctx.lists["user.code_common_function"] = { # chrisnicollo EDIT: For these, say "funk" rather than "funky"
"absolute": "abs", # chrisnicollo EDIT
"deck": "deque", # chrisnicollo EDIT
"dict": "dict", # chrisnicollo EDIT
"enumerate": "enumerate",
Expand Down

0 comments on commit 22c328e

Please sign in to comment.