Skip to content

Commit 1a33bfb

Browse files
committed
Update bat to 0.25
1 parent 311791e commit 1a33bfb

File tree

3 files changed

+197
-27
lines changed

3 files changed

+197
-27
lines changed

Cargo.lock

Lines changed: 195 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ default = ["prettyplease"]
1717
prettyplease = []
1818

1919
[dependencies]
20-
bat = { version = "0.24", default-features = false, features = ["paging", "regex-fancy"] }
20+
bat = { version = "0.25", default-features = false, features = ["paging", "regex-fancy"] }
2121
cargo-subcommand-metadata = "0.1"
2222
clap = { version = "4", features = ["deprecated", "derive"] }
2323
clap-cargo = "0.15"

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ fn do_cargo_expand() -> Result<i32> {
320320
},
321321
visible_lines: VisibleLines::Ranges(LineRanges::all()),
322322
theme: theme.unwrap_or_else(String::new),
323-
syntax_mapping: SyntaxMapping::empty(),
323+
syntax_mapping: SyntaxMapping::new(),
324324
pager: None,
325325
use_italic_text: false,
326326
highlighted_lines: HighlightedLineRanges(LineRanges::none()),

0 commit comments

Comments
 (0)