Return back the logic for indent guides check (#22095)

Follow-up of https://github.com/zed-industries/zed/pull/22046

Release Notes:

- N/A

Co-authored-by: Bennet <bennet@zed.dev>
This commit is contained in:
Kirill Bulatov
2024-12-16 22:53:14 +02:00
committed by GitHub
co-authored by Bennet
parent 8127decd2d
commit 91fdb5d2a9
2 changed files with 14 additions and 1 deletions
+1
View File
@@ -13078,6 +13078,7 @@ fn assert_indent_guides(
let indent_guides = cx.update_editor(|editor, cx| {
let snapshot = editor.snapshot(cx).display_snapshot;
let mut indent_guides: Vec<_> = crate::indent_guides::indent_guides_in_range(
editor,
MultiBufferRow(range.start)..MultiBufferRow(range.end),
true,
&snapshot,