diff --git a/Cargo.lock b/Cargo.lock index 0768633..3bd5daa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -813,9 +813,9 @@ checksum = "56254986775e3233ffa9c4d7d3faaf6d36a2c09d30b20687e9f88bc8bafc16c8" [[package]] name = "dprint-core" -version = "0.74.0" +version = "0.75.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63de85ed73979db127ceb5f9ef0ed9e04aaa2ce062b2b8cbdd83371c65e09f9d" +checksum = "0ed4386acb25cfa05db70b9f831f872fc1455d444d2d4d536c58285b762df5ba" dependencies = [ "indexmap", "serde", diff --git a/Cargo.toml b/Cargo.toml index d40e6ee..c1606d4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,7 @@ wasm = ["dprint-core/wasm"] [dependencies] bun_format = { path = "vendor/bun/src/format" } bun_lint_driver = { path = "vendor/bun/src/lint/driver" } -dprint-core = { version = "0.74.0", default-features = false } +dprint-core = { version = "0.75.0", default-features = false } memchr = "2.8" regress = { version = "0.12", features = ["utf16"] } serde = { version = "1.0.210", features = ["derive"] } diff --git a/src/wasm_plugin.rs b/src/wasm_plugin.rs index 80d16cc..8e540fe 100644 --- a/src/wasm_plugin.rs +++ b/src/wasm_plugin.rs @@ -51,6 +51,7 @@ impl SyncPluginHandler for BunPluginHandler { version ), update_url: Some("https://plugins.dprint.dev/dprint/dprint-plugin-bun/latest.json".to_string()), + supports_range_formatting: Some(true), } }