Add python outline and bracket queries
This commit is contained in:
parent
074caa09c2
commit
c0dbd8f9b9
3 changed files with 13 additions and 1 deletions
|
@ -1902,7 +1902,7 @@ impl BufferSnapshot {
|
|||
}
|
||||
|
||||
while stack.last().map_or(false, |prev_range| {
|
||||
!prev_range.contains(&item_range.start) || !prev_range.contains(&item_range.end)
|
||||
prev_range.start > item_range.start || prev_range.end < item_range.end
|
||||
}) {
|
||||
stack.pop();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue