Add option to activate left neighbour tab on tab close (#21800)

Closes #21738

Release Notes:

- Added `left_neighbour` option to the `tabs.activate_on_close` setting
to activate the left adjacent tab on tab close.
This commit is contained in:
Finn Evers 2024-12-10 14:05:36 +01:00 committed by GitHub
parent 2ca3b440a9
commit 09006aaee9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 85 additions and 6 deletions

View file

@ -71,11 +71,12 @@ pub enum ShowDiagnostics {
}
#[derive(Clone, Default, Serialize, Deserialize, JsonSchema)]
#[serde(rename_all = "lowercase")]
#[serde(rename_all = "snake_case")]
pub enum ActivateOnClose {
#[default]
History,
Neighbour,
LeftNeighbour,
}
#[derive(Clone, Default, Serialize, Deserialize, JsonSchema)]