Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 4, 2025
1 parent ed06f65 commit d49b52e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
3 changes: 2 additions & 1 deletion lang/tags/operators.talon
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ op {user.code_operators_bitwise}: user.code_operator(code_operators_bitwise)
op {user.code_operators_lambda}: user.code_operator(code_operators_lambda)
op {user.code_operators_pointer}: user.code_operator(code_operators_pointer)
op {user.code_operators_math}: user.code_operator(code_operators_math)
is {user.code_operators_math_comparison}: user.code_operator(code_operators_math_comparison)
is {user.code_operators_math_comparison}:
user.code_operator(code_operators_math_comparison)
24 changes: 8 additions & 16 deletions lang/tags/operators_math.talon
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,17 @@ op (exponent | to the power [of]):
user.code_operator("MATH_EXPONENT")

# comparison operators
is equal:
user.code_operator("MATH_EQUAL")
is equal: user.code_operator("MATH_EQUAL")

is not equal:
user.code_operator("MATH_NOT_EQUAL")
is not equal: user.code_operator("MATH_NOT_EQUAL")

is (greater | more):
user.code_operator("MATH_GREATER_THAN")
is (greater | more): user.code_operator("MATH_GREATER_THAN")

is (less | below) [than]:
user.code_operator("MATH_LESS_THAN")
is (less | below) [than]: user.code_operator("MATH_LESS_THAN")

is greater [than] or equal:
user.code_operator("MATH_GREATER_THAN_OR_EQUAL")
is greater [than] or equal: user.code_operator("MATH_GREATER_THAN_OR_EQUAL")

is less [than] or equal:
user.code_operator("MATH_LESS_THAN_OR_EQUAL")
is less [than] or equal: user.code_operator("MATH_LESS_THAN_OR_EQUAL")

# logical operators
logical and:
Expand All @@ -51,11 +45,9 @@ logical not:
user.code_operator("MATH_NOT")

# set operators
is in:
user.code_operator("MATH_IN")
is in: user.code_operator("MATH_IN")

is not in:
user.code_operator("MATH_NOT_IN")
is not in: user.code_operator("MATH_NOT_IN")

op colon:
user.deprecate_command("2025-01-19", "op colon", "pad colon")
Expand Down

0 comments on commit d49b52e

Please sign in to comment.