chore: bump typstyle-core to v0.13.10 and update changelog (#1797)

Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
This commit is contained in:
Wenzhuo Liu 2025-06-09 07:42:34 +08:00 committed by GitHub
parent ed3704b0a3
commit 5343fb5fc2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 6 deletions

4
Cargo.lock generated
View file

@ -5140,9 +5140,9 @@ dependencies = [
[[package]]
name = "typstyle-core"
version = "0.13.9"
version = "0.13.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc8ecc7ad0df59098d1d761bc6e18237abb7a01ae3828bace26c33783f570a85"
checksum = "50fba09112b19b24b7b8189b4550ad671abe26387634de8a485dfacb83dbd0ed"
dependencies = [
"ecow",
"itertools 0.14.0",

View file

@ -156,7 +156,7 @@ typst-eval = "0.13.1"
typst-assets = "0.13.1"
typstfmt = { git = "https://github.com/Myriad-Dreamin/typstfmt", tag = "v0.13.1" }
typst-ansi-hl = "0.4.0"
typstyle-core = { version = "=0.13.9", default-features = false }
typstyle-core = { version = "=0.13.10", default-features = false }
# LSP
crossbeam-channel = "0.5.12"

View file

@ -44,7 +44,8 @@ impl FormatTask {
let formatted = match &c.config {
FormatterConfig::Typstyle(config) => {
typstyle_core::Typstyle::new(config.as_ref().clone())
.format_source(&src)
.format_source(src.clone())
.render()
.ok()
}
FormatterConfig::Typstfmt(config) => Some(typstfmt::format(src.text(), **config)),

View file

@ -9,8 +9,8 @@ The changelog lines unspecified with authors are all written by the @Myriad-Drea
## v0.13.14 - [2025-06-08]
* Bumped MSRV to v1.85 in https://github.com/Myriad-Dreamin/tinymist/pull/1683
* Bumped typstyle from 0.13.3 to v0.13.9. This version includes few significant changes. For more details, see https://enter-tainer.github.io/typstyle/changelog/#v0139---2025-05-25
* feat: bump typstyle to v0.13.9 and add config for hard wrap by @Enter-tainer in https://github.com/Myriad-Dreamin/tinymist/pull/1737
* Bumped typstyle to v0.13.10 and add config for hard wrap by @Enter-tainer in https://github.com/Myriad-Dreamin/tinymist/pull/1737 and https://github.com/Myriad-Dreamin/tinymist/pull/1797
* This includes few significant changes. For more details, see https://enter-tainer.github.io/typstyle/changelog/#v01310---2025-06-05
### Editor