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 15:05:36 +02:00
committed by GitHub
parent 2ca3b440a9
commit 09006aaee9
4 changed files with 85 additions and 6 deletions
+2 -1
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)]