Add a setting to control the number of context lines in excerpts (#37138)

Fixes https://github.com/zed-industries/zed/discussions/28739

Release Notes:

- Added a setting, `excerpt_context_lines`, for setting the number of
context lines shown in a multibuffer
This commit is contained in:
Mikayla Maki
2025-08-29 03:50:24 +00:00
committed by GitHub
parent e5cea54cbb
commit c3ccdc0b44
15 changed files with 76 additions and 22 deletions
+3 -1
View File
@@ -334,7 +334,9 @@ TBD: Centered layout related settings
```json
{
// The default number of lines to expand excerpts in the multibuffer by.
"expand_excerpt_lines": 5
"expand_excerpt_lines": 5,
// The default number of lines of context provided for excerpts in the multibuffer by.
"excerpt_context_lines": 2
}
```