outline: Fix nesting for declarations that declare multiple names
This commit is contained in:
parent
b35e69692d
commit
e7bf12c79d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue