Make chevrons and lightning bolt interactive
This commit is contained in:
parent
89b93d4f6f
commit
37a2ef9d41
4 changed files with 47 additions and 18 deletions
|
@ -635,18 +635,21 @@ pub struct FieldEditor {
|
|||
#[derive(Clone, Deserialize, Default)]
|
||||
pub struct CodeActions {
|
||||
#[serde(default)]
|
||||
pub indicator: Color,
|
||||
pub indicator: Interactive<Indicator>,
|
||||
pub vertical_scale: f32,
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Default)]
|
||||
pub struct Folds {
|
||||
#[serde(default)]
|
||||
pub indicator: Color,
|
||||
pub faded_indicator: Color,
|
||||
pub indicator: Interactive<Indicator>,
|
||||
pub fold_background: Color,
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Default)]
|
||||
pub struct Indicator {
|
||||
pub color: Color,
|
||||
}
|
||||
|
||||
#[derive(Clone, Deserialize, Default)]
|
||||
pub struct DiffStyle {
|
||||
pub inserted: Color,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue