Skip to content

Commit

Permalink
Exclude only named children without injection.include-children
Browse files Browse the repository at this point in the history
  • Loading branch information
MDeiml committed Jul 21, 2022
1 parent 8b2a141 commit f6bafab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-core/src/syntax.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,7 @@ fn intersect_ranges(
};

for excluded_range in node
.children(&mut cursor)
.named_children(&mut cursor)
.filter_map(|child| {
if includes_children {
None
Expand Down

0 comments on commit f6bafab

Please sign in to comment.