diff options
author | Brian Low <github@brianlow.com> | 2019-10-26 00:20:20 -0600 |
---|---|---|
committer | Matan Kushner <hello@matchai.me> | 2019-10-26 15:20:20 +0900 |
commit | 2710d0270946fc3ba83eeabd9d7ec4cdc86f36bb (patch) | |
tree | 7ee499d73e57225250a2e2a22ca8cb973247bbb9 /src/config.rs | |
parent | 59148ac4add692e208f6268155151da1335ba8b7 (diff) |
feat: Show git_status counts (#434)
The git_status module can show the count of files next to their respective symbols.
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs index 785cd26b6..eac1d6ba5 100644 --- a/src/config.rs +++ b/src/config.rs @@ -242,10 +242,10 @@ impl<'a> SegmentConfig<'a> { } /// Immutably set style - pub fn with_style(&self, style: Style) -> Self { + pub fn with_style(&self, style: Option<Style>) -> Self { Self { value: self.value, - style: Some(style), + style, } } } |