mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-26 20:16:33 +00:00
Remove vcs_modification_markers from PrettyPrinter 'git' feature disabled
This commit is contained in:
1 file changed
+1
@@ -166,6 +166,7 @@ impl<'a> PrettyPrinter<'a> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Whether to show modification markers for VCS changes
|
/// Whether to show modification markers for VCS changes
|
||||||
|
#[cfg(feature = "git")]
|
||||||
pub fn vcs_modification_markers(&mut self, yes: bool) -> &mut Self {
|
pub fn vcs_modification_markers(&mut self, yes: bool) -> &mut Self {
|
||||||
self.active_style_components.vcs_modification_markers = yes;
|
self.active_style_components.vcs_modification_markers = yes;
|
||||||
self
|
self
|
||||||
|
|||||||
Reference in new issue
Block a user