editor: Fix unwrap_syntax_node panicking by not setting selections (#38329)
Fixes ZED-11T Release Notes: - N/A *or* Added/Fixed/Improved ...
This commit is contained in:
@@ -748,7 +748,7 @@ impl Vim {
|
||||
// after the change
|
||||
let stable_anchors = editor
|
||||
.selections
|
||||
.disjoint_anchors()
|
||||
.disjoint_anchors_arc()
|
||||
.iter()
|
||||
.map(|selection| {
|
||||
let start = selection.start.bias_left(&display_map.buffer_snapshot);
|
||||
|
||||
Reference in New Issue
Block a user