From 12d0128d9731be52408b857b6739d164b321d9b3 Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Tue, 5 May 2026 18:19:34 +0200 Subject: [PATCH 1/2] Formats nbsp --- crates/formatter/src/formating.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/formatter/src/formating.rs b/crates/formatter/src/formating.rs index 370f97d..34fb77a 100644 --- a/crates/formatter/src/formating.rs +++ b/crates/formatter/src/formating.rs @@ -14,6 +14,10 @@ const SAMPLE_CONFIG: &str = r#"# Base config, loaded from .fmtconfig.tml regex = "\\p{Pd}" replacement = "-" +[[patterns]] +regex = "[\u2212]" +replacement = "-" + [[patterns]] regex = "[\u2018\u2019\u201A\u201B\u02BC\u02BB\u00B4\uFF40\uFF07]" replacement = "'" @@ -24,7 +28,7 @@ replacement = "" [[patterns]] regex = "[\\u202F]" -replacement = "" +replacement = " " "#; #[derive(Debug, Deserialize)] -- 2.45.1 From 30bc8bb9a159e9296747695b68b198abb2e39a31 Mon Sep 17 00:00:00 2001 From: Dandaedre Date: Tue, 5 May 2026 18:21:21 +0200 Subject: [PATCH 2/2] Updates versions --- crates/cli_parser/Cargo.toml | 2 +- crates/config/Cargo.toml | 2 +- crates/formatter/Cargo.toml | 2 +- crates/graphs/Cargo.toml | 2 +- crates/make/Cargo.toml | 2 +- crates/stats/Cargo.toml | 2 +- crates/tablegen/Cargo.toml | 2 +- crates/weaponry/Cargo.toml | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/crates/cli_parser/Cargo.toml b/crates/cli_parser/Cargo.toml index 234e5b6..d553608 100644 --- a/crates/cli_parser/Cargo.toml +++ b/crates/cli_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "cli_parser" -version = "0.1.0" +version = "0.1.6" edition = "2024" [dependencies] diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml index 8c6042e..c1a2c3b 100644 --- a/crates/config/Cargo.toml +++ b/crates/config/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "config" -version = "0.1.0" +version = "0.1.1" edition = "2024" [dependencies] diff --git a/crates/formatter/Cargo.toml b/crates/formatter/Cargo.toml index 026aeca..1ac8ba3 100644 --- a/crates/formatter/Cargo.toml +++ b/crates/formatter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "formatter" -version = "0.1.0" +version = "0.1.1" edition = "2024" [dependencies] diff --git a/crates/graphs/Cargo.toml b/crates/graphs/Cargo.toml index 620bc88..75904ca 100644 --- a/crates/graphs/Cargo.toml +++ b/crates/graphs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "graphs" -version = "0.1.0" +version = "0.1.2" edition = "2024" [dependencies] diff --git a/crates/make/Cargo.toml b/crates/make/Cargo.toml index 18d8596..b249ce5 100644 --- a/crates/make/Cargo.toml +++ b/crates/make/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "make" -version = "0.1.0" +version = "0.1.2" edition = "2024" [dependencies] diff --git a/crates/stats/Cargo.toml b/crates/stats/Cargo.toml index c4210ac..117b236 100644 --- a/crates/stats/Cargo.toml +++ b/crates/stats/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stats" -version = "0.1.0" +version = "0.1.1" edition = "2024" [dependencies] diff --git a/crates/tablegen/Cargo.toml b/crates/tablegen/Cargo.toml index b9295fa..68aef67 100644 --- a/crates/tablegen/Cargo.toml +++ b/crates/tablegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tablegen" -version = "0.1.0" +version = "0.1.2" edition = "2024" [dependencies] diff --git a/crates/weaponry/Cargo.toml b/crates/weaponry/Cargo.toml index 84ccf64..66ccf03 100644 --- a/crates/weaponry/Cargo.toml +++ b/crates/weaponry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "weaponry" -version = "0.1.0" +version = "0.1.1" edition = "2024" [dependencies] -- 2.45.1