diff options
author | David Knaack <davidkna@users.noreply.github.com> | 2021-03-31 17:31:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-31 17:31:55 +0200 |
commit | d06ba072a88da96448260ff7c97174a08aad669a (patch) | |
tree | 30ff17a324703e767a8bb19b0114d7d6ca2aea0c /src/configs/purescript.rs | |
parent | 2b15ca1a157fa21dd7d8432b2c51e1e2ecf87496 (diff) |
feat(config): allow printing default and computed config (#2521)
* feat: allow printing default and computed config
* fix custom modules
* actually fix custom modules
Diffstat (limited to 'src/configs/purescript.rs')
-rw-r--r-- | src/configs/purescript.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/configs/purescript.rs b/src/configs/purescript.rs index 0d5788f83..a52dff799 100644 --- a/src/configs/purescript.rs +++ b/src/configs/purescript.rs @@ -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 PureScriptConfig<'a> { pub format: &'a str, pub symbol: &'a str, |