Commit 6ee1abd
authored
fix: don't convert - to 减 in non-math context (#347)
* fix: don't convert - to 减 in non-math context (#294)
Split math operators into ambiguous (-, +, =) and unambiguous (×, ÷,
≥, ≤, etc.). Ambiguous operators now require number context on both
sides. Unambiguous operators can still match independently.
Before: wide-awake => wide减awake
After: wide-awake => wide-awake
* ci: only test macOS/Windows on schedule and manual dispatch
* ci: run macOS/Windows only on manual dispatch, Linux on PR1 parent 0650fa9 commit 6ee1abd
3 files changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
0 commit comments