* feat: add a history attribute to plugin config as described in #110 closes #110 * fix: Correct grammar mistake in comment Co-authored-by: Jacob Kauffmann <jacobgkau@users.noreply.github.com>
This commit is contained in:
parent
1552b585d6
commit
a5c2569654
9 changed files with 15 additions and 5 deletions
|
|
@ -27,6 +27,9 @@ pub struct PluginConfig {
|
|||
|
||||
#[serde(default)]
|
||||
pub query: PluginQuery,
|
||||
|
||||
#[serde(default)]
|
||||
pub history: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug, Default, Deserialize)]
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ pub const CONFIG: PluginConfig = PluginConfig {
|
|||
regex: None,
|
||||
},
|
||||
icon: Some(IconSource::Name(Cow::Borrowed("system-help-symbolic"))),
|
||||
history: false
|
||||
};
|
||||
pub struct HelpPlugin {
|
||||
pub id: usize,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue