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:
parent
2ca3b440a9
commit
09006aaee9
4 changed files with 85 additions and 6 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue