summaryrefslogtreecommitdiffstats
path: root/src/configs/dotnet.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/configs/dotnet.rs')
-rw-r--r--src/configs/dotnet.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configs/dotnet.rs b/src/configs/dotnet.rs
index 05438f363..78c6d8de9 100644
--- a/src/configs/dotnet.rs
+++ b/src/configs/dotnet.rs
@@ -6,6 +6,7 @@ use starship_module_config_derive::ModuleConfig;
#[derive(Clone, ModuleConfig, Serialize)]
pub struct DotnetConfig<'a> {
pub format: &'a str,
+ pub version_format: &'a str,
pub symbol: &'a str,
pub style: &'a str,
pub heuristic: bool,
@@ -19,6 +20,7 @@ impl<'a> Default for DotnetConfig<'a> {
fn default() -> Self {
DotnetConfig {
format: "[$symbol($version )(🎯 $tfm )]($style)",
+ version_format: "v${raw}",
symbol: ".NET ",
style: "blue bold",
heuristic: true,