Commit graph

189 commits

Author SHA1 Message Date
Myriad-Dreamin
b76e80bad3
fix: dedent documentation correctly (#132) 2024-03-30 19:04:07 +08:00
Myriad-Dreamin
c32e6e3097
fix: documentation issues (#131) 2024-03-30 18:51:30 +08:00
Myriad-Dreamin
edd21deaca
feat: support entry configuration (#122) 2024-03-30 18:51:17 +08:00
Myriad-Dreamin
4e318e023f
fix: correct identifier/keyword boundaries (#128) 2024-03-30 17:14:58 +08:00
Myriad-Dreamin
21a872bbe8
fix: wrong completion kind (#127)
* fix: wrong completion kind

* dev: add completion requests back to e2e testing
2024-03-30 17:14:50 +08:00
Myriad-Dreamin
2c13d7efdd
feat: minimal diff algorithm for source formatting (#123)
* feat: minimal diff algorithm for source formatting

* fix: typo
2024-03-29 19:46:30 +08:00
Myriad-Dreamin
0eae40dec6
dev: intern completion code (#124)
* dev: intern completion code

* dev: change completion kind of symbols to FIELD

* fix: accept hash

* fix: reduce redundant information
2024-03-29 19:46:10 +08:00
Myriad-Dreamin
858c100146
fix: expose pin/unpin commands for vscode (#121) 2024-03-29 15:27:11 +08:00
Myriad-Dreamin
529b422189
feat: support untitled url scheme for unsaved documents (#120) 2024-03-29 15:26:46 +08:00
Myriad-Dreamin
d53bd80d14
dev: ensure to run a single compiler instance (#119)
* build: remoe tinymist deps on tests

* dev: ensure unique running compiler

* docs: update some comments
2024-03-29 14:36:02 +08:00
Myriad-Dreamin
b364160fdd
build: bump typstyle to 0.11.5 (#118) 2024-03-29 14:35:51 +08:00
Myriad-Dreamin
3a0e8e3d26
fix: converts out of bounds offsets again (#115)
* fix: converts out of bounds offsets again

* fix: wrong length calculation

* dev: accept hash
2024-03-29 02:20:12 +08:00
Myriad-Dreamin
5f27135419
feat: add an e2e smoke testing (#114)
* feat: e2e smoke testing

* feat: redact value

* dev: don't compile in tests

* dev: use correct path to binary
2024-03-28 21:34:56 +08:00
Myriad-Dreamin
d4dda9e06f
feat: support formatters (#113)
* feat: supports formatter

* feat: supports dynamic configuration and typstfmt

* fix: test
2024-03-28 16:28:00 +08:00
Myriad-Dreamin
0114bf4a3b
feat: allow tracing typst programs in subprocess (#112)
* feat: add compiler mode

* feat: implement compiler mode

* dev: imtroduce typst timings
2024-03-27 22:51:51 +08:00
Myriad-Dreamin
b84aaec294
fix: passed correct arguments to editor tools (#111) 2024-03-27 22:50:50 +08:00
Myriad-Dreamin
3380bfdb7d
dev: make a lsp function for testing (#70)
* dev: make a lsp function for testing

* dev: split modes futhermore
2024-03-27 13:56:32 +08:00
Myriad-Dreamin
e4148ef51e fix: testing workflow again... 2024-03-27 11:12:33 +08:00
Myriad-Dreamin
c0ac418e87 fix: bundle tm languages 2024-03-27 10:55:16 +08:00
Myriad-Dreamin
2daec9cc9c fix: testing workflow 2024-03-27 10:47:26 +08:00
Myriad-Dreamin
bf739d8367
build: bump version to 0.11.1 (#106)
* build: bump version to 0.11.1

* build: add changelog for v0.11.1

* fix: wrong changelog

* docs: update readme

* docs: update changelog
2024-03-27 10:30:50 +08:00
Myriad-Dreamin
d908648582
docs: mention how to work with multiple-file projects (#108)
* docs: mention how to work with multiple-file projects

* fix: words

* dev: update helix solution
2024-03-27 10:20:23 +08:00
Myriad-Dreamin
2ae86922a4
fix: keyword boundary (#109) 2024-03-27 10:19:50 +08:00
Myriad-Dreamin
3344eebe3f
feat: correctly parse and show hover doc (#105)
* feat: seperate content on hover tips

* dev: half hover

* fix: ensure extracting docs correctly
2024-03-27 10:19:34 +08:00
Myriad-Dreamin
de2504b15f
feat: add minimal helix support (#107) 2024-03-26 12:55:08 +08:00
Myriad-Dreamin
4d21026661
dev: more accurate deref target (#104) 2024-03-26 11:40:20 +08:00
Myriad-Dreamin
876827d39b
dev: recover sys.inputs configuration (#103) 2024-03-26 11:40:12 +08:00
Myriad-Dreamin
63d332f8d9
refactor: make state query functions closer (#102) 2024-03-26 11:40:05 +08:00
Myriad-Dreamin
413c2e8deb
feat: add svg and png export (#101) 2024-03-26 11:25:46 +08:00
Myriad-Dreamin
e649ad308f
refactor: tidy up compiler server/client actors (#100)
* refactor: split construct/preview code

* refactor: clean server-client actors

* fix: infinite loop

* fix: compile error
2024-03-26 11:15:32 +08:00
Myriad-Dreamin
90484cb8e6
build: add categories meta for vscode extension (#99) 2024-03-26 11:05:08 +08:00
Myriad-Dreamin
1cd6e03529
feat: add tracing frontend (#98) 2024-03-26 10:54:47 +08:00
Myriad-Dreamin
8f91615839
fix: wrong default value for system fonts (#97) 2024-03-26 10:54:35 +08:00
Myriad-Dreamin
37982a6870
fix: error tolerance on external paths (#96) 2024-03-26 10:54:26 +08:00
Myriad-Dreamin
76b4e91046
feat: allow running server with loading font once and on rootless files (#94)
* dev: change system config

* docs: update config doc

* dev: clean up tightly coupled world

* dev: load font once

* docs: add more comments to tinymist-query

* dev: merge compiler layers

* feat: allow run lsp on rootless files

* build: bump ts

* fix: workspace dep

* build: bump preview

* dev: correctly check inactive state

* fix: weird cargo default features
2024-03-26 10:33:56 +08:00
Myriad-Dreamin
f0a9c3e880
dev: use positive system font config (#93)
* dev: change system config

* docs: update config doc
2024-03-24 10:16:29 +08:00
Myriad-Dreamin
b6dd6671c3
fix: convert EOF position correctly (#92) 2024-03-23 18:59:19 +08:00
Myriad-Dreamin
9b09d6458e
feat: integrate neovim support (#91)
* feat: integrate neovim support

* dev: restre default settings in plugin file

* fix: description

* docs: better link

* chore: fix

* chore: mason install

* fix: link
2024-03-23 18:46:31 +08:00
Myriad-Dreamin
a0c434477c
refactor: remove listeners (#90) 2024-03-23 12:56:30 +08:00
Myriad-Dreamin
67a05a97c8
dev: remove InitializeParamsExt (#89) 2024-03-23 10:46:24 +08:00
Myriad-Dreamin
4139491019
chore: improve issue report templates and integration (#88)
* build: change order of rust cache

* build: link pr title

* build: update issue template
2024-03-23 10:09:23 +08:00
Myriad-Dreamin
81ed159e90
dev: test libraries in CI (#69)
* fix: canonicalize line feed for testing

* dev: test libraries in CI

* build: remove wrapper
2024-03-23 09:16:32 +08:00
Myriad-Dreamin
0cdbeaa38b
build: remove rust cache (#87) 2024-03-23 08:42:21 +08:00
Myriad-Dreamin
e62001530f
build: remove preview hacks (#86) 2024-03-23 07:37:38 +08:00
Myriad-Dreamin
2e7c7732dc
feat: mark correct expression boundary on all testing files from typst/typst (#85)
* fix: comment and set rules

* fix: losen for rules

* fix: chore field, escape

* fix: hash termination

* dev: handle math mode

* fix: terminate expressions on right braces

* dev: match spread operator

* dev: remove complex check on if

* dev: add two bugs

* dev: fix if/while conditions

* fix: terminate expressions on right braces 2
2024-03-23 01:19:43 +08:00
Myriad-Dreamin
10c3e0134a
feat: disable bracket colorizing according to textmate scopes (#81)
* feat: disable bracket colorizing according to textmate scopes

* feat: use typc as highlighting language
2024-03-22 21:23:26 +08:00
Myriad-Dreamin
14ef2e78e2
feat: provide more robust syntax highlight for expressions in markup context (#80)
* dev: robust if syntax

* dev: robust for syntax

* dev: if/for with content blocks

* dev: robust while syntax

* dev: lift identifier matchers

* dev: update test case

* dev: robust call syntax

* dev: robust arrow func syntax

* dev: robust set syntax

* dev: robust show syntax

* dev: robust let syntax

* dev: robust string literal syntax

* dev: robust include syntax

* dev: robust import syntax

* dev: expression continuation

* dev: error tolerance

* dev: robust inline/blocky raw syntax

* dev: chore fixes

* dev: fix call and raw

* dev: fix some markup

* dev: refactor many markup patterns

* dev: final touches

* dev: remove unused dep
2024-03-21 17:52:51 +08:00
Myriad-Dreamin
5c70b310de
build: disable lto (#84) 2024-03-21 14:06:40 +08:00
Myriad-Dreamin
bc9e2aa1e1
feat: parse comments for hover tooltip (#78) 2024-03-21 03:05:16 +08:00
Myriad-Dreamin
13e3562424
build: bump version to 0.11.1-rc2 (#79) 2024-03-20 18:25:15 +08:00