From e7bf12c79d9afeda081d0ac2a195fd5555b5922b Mon Sep 17 00:00:00 2001 From: Michael Sloan Date: Mon, 11 Aug 2025 22:54:53 -0600 Subject: [PATCH] outline: Fix nesting for declarations that declare multiple names --- crates/language/src/buffer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/language/src/buffer.rs b/crates/language/src/buffer.rs index 83517accc2..69d84a3222 100644 --- a/crates/language/src/buffer.rs +++ b/crates/language/src/buffer.rs @@ -3661,7 +3661,7 @@ impl BufferSnapshot { let mut annotation_row_ranges = annotation_row_ranges.into_iter().peekable(); for item in items { while let Some(last_end) = item_ends_stack.last().copied() { - if last_end < item.range.end { + if last_end <= item.range.end { item_ends_stack.pop(); } else { break;