mirror of
https://github.com/sharkdp/bat
synced 2026-07-24 17:13:19 +00:00
Easier configuration of style components
This commit is contained in:
+2
-1
@@ -19,7 +19,8 @@ use bat::{
|
||||
errors::*,
|
||||
input::Input,
|
||||
line_range::{HighlightedLineRanges, LineRange, LineRanges},
|
||||
MappingTarget, StyleComponent, StyleComponents, SyntaxMapping, WrappingMode,
|
||||
style::{StyleComponent, StyleComponents},
|
||||
MappingTarget, SyntaxMapping, WrappingMode,
|
||||
};
|
||||
|
||||
fn is_truecolor_terminal() -> bool {
|
||||
|
||||
+6
-2
@@ -26,8 +26,12 @@ use clap::crate_version;
|
||||
use directories::PROJECT_DIRS;
|
||||
|
||||
use bat::{
|
||||
assets::HighlightingAssets, config::Config, controller::Controller, errors::*, input::Input,
|
||||
StyleComponent, StyleComponents,
|
||||
assets::HighlightingAssets,
|
||||
config::Config,
|
||||
controller::Controller,
|
||||
errors::*,
|
||||
input::Input,
|
||||
style::{StyleComponent, StyleComponents},
|
||||
};
|
||||
|
||||
fn run_cache_subcommand(matches: &clap::ArgMatches) -> Result<()> {
|
||||
|
||||
Reference in New Issue
Block a user