diff options
Diffstat (limited to 'src/configs/lua.rs')
-rw-r--r-- | src/configs/lua.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configs/lua.rs b/src/configs/lua.rs index a70e30183..2b8e0898c 100644 --- a/src/configs/lua.rs +++ b/src/configs/lua.rs @@ -6,6 +6,7 @@ use starship_module_config_derive::ModuleConfig; #[derive(Clone, ModuleConfig, Serialize)] pub struct LuaConfig<'a> { pub format: &'a str, + pub version_format: &'a str, pub symbol: &'a str, pub style: &'a str, pub lua_binary: &'a str, @@ -19,6 +20,7 @@ impl<'a> Default for LuaConfig<'a> { fn default() -> Self { LuaConfig { format: "via [$symbol($version )]($style)", + version_format: "v${raw}", symbol: "🌙 ", style: "bold blue", lua_binary: "lua", |