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
+5 -3
View File
@@ -561,9 +561,11 @@
// What to do after closing the current tab.
//
// 1. Activate the tab that was open previously (default)
// "History"
// 2. Activate the neighbour tab (prefers the right one, if present)
// "Neighbour"
// "history"
// 2. Activate the right neighbour tab if present
// "neighbour"
// 3. Activate the left neighbour tab if present
// "left_neighbour"
"activate_on_close": "history",
/// Which files containing diagnostic errors/warnings to mark in the tabs.
/// Diagnostics are only shown when file icons are also active.