Skip to content

Commit 79e6bac

Browse files
rlofcmi2ebi
authored andcommitted
Adding enable-focus-dimmer config to dim text in unfocused views or while jumping to labels
1 parent 7324eca commit 79e6bac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

helix-view/src/editor.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,8 @@ pub enum KittyKeyboardProtocolConfig {
438438
Auto,
439439
Disabled,
440440
Enabled,
441+
/// Whether to dim text in unfocused views or while jumping to labels.
442+
pub enable_focus_dimmer: bool,
441443
}
442444

443445
#[derive(Debug, Clone, PartialEq, Deserialize, Serialize, Eq, PartialOrd, Ord)]
@@ -1122,6 +1124,7 @@ impl Default for Config {
11221124
kitty_keyboard_protocol: Default::default(),
11231125
enable_focus_dimmer: false,
11241126
kitty_keyboard_protocol: Default::default(),
1127+
enable_focus_dimmer: false,
11251128
}
11261129
}
11271130
}

0 commit comments

Comments
 (0)