mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
fix(print-config): fix battery module and add missing modules (#2930)
* fix(print-config): fix battery and vcsh module handling * sort, add test, add line_break module
This commit is contained in:
+2
-1
@@ -1,8 +1,9 @@
|
||||
use crate::config::ModuleConfig;
|
||||
|
||||
use serde::Serialize;
|
||||
use starship_module_config_derive::ModuleConfig;
|
||||
|
||||
#[derive(Clone, ModuleConfig)]
|
||||
#[derive(Clone, ModuleConfig, Serialize)]
|
||||
pub struct VcshConfig<'a> {
|
||||
pub symbol: &'a str,
|
||||
pub style: &'a str,
|
||||
|
||||
Reference in New Issue
Block a user