Myriad-Dreamin
4bfb5c22da
fix: stop atom expressions before backslash ( #1835 )
...
* fix: stop atom expressions before marks
* dev: fix it
2025-06-23 11:32:55 +08:00
Myriad-Dreamin
5bf177637a
fix: stop hash expressions before "operators" ( #1756 )
...
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / E2E Tests (win32-x64 on windows-latest) (push) Blocked by required conditions
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / build-binary (push) Blocked by required conditions
tinymist::ci / build-vsc-assets (push) Blocked by required conditions
tinymist::ci / build-vscode (push) Blocked by required conditions
tinymist::ci / build-vscode-others (push) Blocked by required conditions
tinymist::ci / publish-vscode (push) Blocked by required conditions
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / E2E Tests (darwin-arm64 on macos-latest) (push) Blocked by required conditions
tinymist::ci / E2E Tests (linux-x64 on ubuntu-22.04) (push) Blocked by required conditions
tinymist::ci / E2E Tests (linux-x64 on ubuntu-latest) (push) Blocked by required conditions
tinymist::ci / E2E Tests (win32-x64 on windows-2019) (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
* fix: distinguish markup math and code math
* fix: stop hash expressions before "operators"
* fix: corner cases
2025-05-13 18:06:19 +08:00
Myriad-Dreamin
7e54270bda
fix: terminate many expressions before dollar ( #1755 )
2025-05-13 17:10:39 +08:00
sjfhsjfh
864f8aed2a
fix: stop parsing markup call before math dollar ( #1752 )
...
* fix(WIP, textmate): split math markup with shorthand
* test: add snapshot
* dev: revert changes
* fix: terminate markup call before math end
* fix: remove changes
* fix: remove changes
---------
Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
2025-05-13 16:56:14 +08:00
Myriad-Dreamin
4cbe35a286
feat: employ l10n to tinymist-cli and vscode extension ( #1505 )
...
* feat: runtime translation
* feat: poc of rust translation
* feat: clean up implementation
* feat: initialize correctly
* dev: remove dirty log
* dev: rename l10nMsg
* fix: desc
* feat: update assets building
* feat: update assets building
* build: update cargo.lock
* fix: warnings
* fix: warnings
* dev: expose api
* fix: compile error
* fix: compile errors in scripts
2025-03-15 10:38:07 +08:00
Myriad-Dreamin
78b2d57a81
feat: add shebang related support ( #1400 )
2025-02-25 22:21:30 +08:00
Myriad-Dreamin
34fe823ab7
fix: terminate heading on newline ( #1136 )
2025-01-09 18:26:26 +08:00
Myriad-Dreamin
470386dabb
feat: handle minus and asterisk marker confidently ( #1134 )
...
* feat: handle minus and asterisk marker confidently
* test: add some tests about assign
2025-01-09 14:27:39 +08:00
Myriad-Dreamin
fe34e2c6de
docs: documenting textmate grammar ( #1131 )
2025-01-08 12:40:19 +08:00
Myriad-Dreamin
903a2fe41b
feat: generate wider look-behind pattern for pcre-compatible grammar ( #1130 )
2025-01-08 11:33:16 +08:00
Myriad-Dreamin
02591124a3
feat: stop expressions before hash and comma ( #1129 )
...
* feat: stop expression before hash
* feat: stop expression before comma
2025-01-08 11:26:44 +08:00
Myriad-Dreamin
13e7325b7b
feat: parse arrow functions like binary expr ( #1128 )
2025-01-08 11:24:55 +08:00
Myriad-Dreamin
691a28ef55
feat: conditionally satisfy PCRE regex features ( #1126 )
2025-01-07 20:49:38 +08:00
Myriad-Dreamin
d4d8345166
fix: match special identifiers in calls ( #1125 )
2025-01-07 14:20:00 +08:00
Myriad-Dreamin
a6a6d88143
fix: exclude content block syntax when parsing math arguments ( #1124 )
2025-01-07 14:18:11 +08:00
Myriad-Dreamin
bc2e07bb0c
fix: parse field access in math ( #1123 )
2025-01-07 14:17:15 +08:00
Myriad-Dreamin
42bfb8de1c
feat: add more termination rules about FIRST tokens ( #1122 )
...
* feat: terminate call arguments before some FIRST tokens
* feat: terminate braces before some FIRST tokens
* feat: terminate set clause on some FIRST tokens
* feat: refine rules to terminate a math call
2025-01-07 14:15:31 +08:00
Myriad-Dreamin
03ac73bd52
feat: change some names of textmate scopes ( #1119 )
...
* feat: change some special kind of string tokens
* feat: change some special kind of constant tokens
* feat: change some special kind of keyword tokens
* test: update snapshot
2025-01-07 14:00:21 +08:00
Myriad-Dreamin
4a44a69196
feat: parse name identifier of parameters or arguments ( #1118 )
...
* test: add arg name tests
* feat: parse name identifier of parameters or arguments
2025-01-07 10:16:23 +08:00
Myriad-Dreamin
a00e5f12e5
fix: terminates math calls before identifier start ( #1117 )
2025-01-06 21:53:38 +08:00
Myriad-Dreamin
957e017966
fix: parse math calls with text braces inside or around ( #1112 )
...
* fix: parse math calls with text braces inside or around
* test: add some test cases
2025-01-05 21:21:34 +08:00
Myriad-Dreamin
626efa0d78
feat: parse math parentheses after [_^\/√∛∜]
( #1106 )
...
* test: move math syntax highlight tests
* feat: parse math parentheses after `_` and `^`
* feat: all opening/closing kinds
* dev: more kinds
2025-01-04 02:22:27 +08:00
Myriad-Dreamin
d4ba43c773
feat: add experimental math syntax highlighting ( #1096 )
...
* feat: add experimental math syntax highlighting
* dev: math identifier can be after some text brace
* dev: math identifier must contain multiple chars
2025-01-03 23:15:42 +08:00
Myriad-Dreamin
8b495fe2ab
feat: recursively parse markup link according to typst syntax ( #911 )
2024-11-29 15:43:38 +08:00
Myriad-Dreamin
6fa07b6777
fix: stop show until new line or code terminator ( #910 )
2024-11-29 15:31:02 +08:00
Myriad-Dreamin
adef0381be
fix: continue parsing expression on func/method call ( #909 )
2024-11-29 15:30:51 +08:00
Myriad-Dreamin
5423976278
fix: stop import-as clause before colon ( #908 )
2024-11-29 15:17:00 +08:00
Myriad-Dreamin
b3573029cc
fix: match braces in math mode as content ( #901 )
2024-11-25 13:14:36 +08:00
Myriad-Dreamin
162ff73f0f
fix: remove buggy term list parsing ( #897 )
2024-11-24 18:02:11 +08:00
Myriad-Dreamin
e95e4284b1
fix: match brackets in content block recursively ( #856 )
...
* feat: only match brackets in content block
* test: update snapshot
2024-11-19 23:28:12 +08:00
Myriad-Dreamin
ac97c34d0f
feat: improve signature formatting in docs ( #750 )
...
* feat: improve signature formatting in docs
* test: update snapshot
* fix: package docs formatting
2024-10-30 15:17:08 +08:00
Myriad-Dreamin
136b162360
dev: fix bugs in bold/italic syntax highlighting ( #732 )
2024-10-24 23:34:06 +08:00
Myriad-Dreamin
b1efa88161
feat: improve syntax highlighting ( #724 )
...
* dev: simplify if statement handling
* dev: parse blocks in if/for/while more consistently
* feat: improve context expression parsing
* feat: improve context expression parsing
* feat: improve parameter clause parsing
2024-10-22 21:41:20 +08:00
Myriad-Dreamin
24751130a5
feat: parse for clause correctly ( #642 )
...
* fix: unchanged snapshots
* feat: parse for clause correctly
2024-10-07 13:13:42 +08:00
Myriad-Dreamin
3d886a021b
feat: improve theme settings for raw blocks ( #606 )
2024-09-20 14:12:53 +08:00
Myriad-Dreamin
ccaf83e2ec
fix: parse quotes near the atomic hash expression ( #559 )
2024-08-26 10:56:49 +08:00
Myriad-Dreamin
cfa04bdd1b
feat: improve numeric literal parsers ( #558 )
2024-08-26 10:55:34 +08:00
Myriad-Dreamin
1b9255e04e
fix: parse dot issue 492 again ( #557 )
2024-08-26 10:42:39 +08:00
Myriad-Dreamin
a95b07de27
fix: nested colorization
2024-08-11 11:24:50 +08:00
Myriad-Dreamin
555da7e5a5
feat: identify more context for bracket colorization ( #522 )
2024-08-10 20:43:18 +08:00
Myriad-Dreamin
f8472e9a3e
fix: allow underline in url link ( #520 )
2024-08-10 20:42:59 +08:00
Myriad-Dreamin
11f9965c48
fix: parse dot operation on atomic expression correctly ( #497 )
2024-08-05 19:47:55 +08:00
Myriad-Dreamin
04de6a2806
fix: allow hyphenate in url link ( #481 )
2024-07-30 18:47:57 +08:00
Myriad-Dreamin
81a95816b6
feat: syntax highlighting for raw blocks (fence ticks <= 6) ( #450 )
...
* feat: syntax highlighting for raw blocks (fence ticks <= 6)
* dev: remove unused comments
2024-07-22 19:20:25 +08:00
Myriad-Dreamin
c5222661b1
dev: fix errors after upgrading tsc and update resolution ( #449 )
2024-07-22 18:45:59 +08:00