Fix: missing theme in config (#913)
Signed-off-by: Tw <wei.tan@intel.com>
This commit is contained in:
parent
485b9e4f98
commit
d7e460a3d6
1 changed files with 1 additions and 2 deletions
|
|
@ -155,11 +155,10 @@ impl Config {
|
||||||
/// Merges two Config structs into one Config struct
|
/// Merges two Config structs into one Config struct
|
||||||
/// `other` overrides `self`.
|
/// `other` overrides `self`.
|
||||||
pub fn merge(&self, other: Self) -> Self {
|
pub fn merge(&self, other: Self) -> Self {
|
||||||
//let themes = if let Some()
|
|
||||||
Self {
|
Self {
|
||||||
keybinds: self.keybinds.merge_keybinds(other.keybinds),
|
keybinds: self.keybinds.merge_keybinds(other.keybinds),
|
||||||
options: self.options.merge(other.options),
|
options: self.options.merge(other.options),
|
||||||
themes: None,
|
themes: self.themes.clone(), // TODO
|
||||||
plugins: self.plugins.merge(other.plugins),
|
plugins: self.plugins.merge(other.plugins),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue