parent
c1c8a74c7f
commit
c015b5c4cd
3 changed files with 31 additions and 4 deletions
|
@ -71,7 +71,8 @@ pub struct InlineBlameSettings {
|
|||
/// Whether or not to show git blame data inline in
|
||||
/// the currently focused line.
|
||||
///
|
||||
/// Default: false
|
||||
/// Default: true
|
||||
#[serde(default = "true_value")]
|
||||
pub enabled: bool,
|
||||
/// Whether to only show the inline blame information
|
||||
/// after a delay once the cursor stops moving.
|
||||
|
@ -80,6 +81,10 @@ pub struct InlineBlameSettings {
|
|||
pub delay_ms: Option<u64>,
|
||||
}
|
||||
|
||||
const fn true_value() -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Default, Serialize, Deserialize, PartialEq, Eq, JsonSchema)]
|
||||
pub struct BinarySettings {
|
||||
pub path: Option<String>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue