-
-
Notifications
You must be signed in to change notification settings - Fork 89
Closed
Labels
code qualityImprovements to code qualityImprovements to code quality
Description
It's unnecessary having to specify that the leading and trailing ranges should terminate at the content range. We could just specify their distal position and the range could be calculated for us.
from:
(flow_node)? @collectionItem.leading.start.endOf
.
(flow_node) @collectionItem @collectionItem.leading.end.startOf @collectionItem.trailing.end.endOf
.
(flow_node)? @collectionItem.trailing.end.startOf
to:
(flow_node)? @collectionItem.leading.endOf
.
(flow_node) @collectionItem
.
(flow_node)? @collectionItem.trailing.startOf
@pokey @josharian Any thoughts?
Metadata
Metadata
Assignees
Labels
code qualityImprovements to code qualityImprovements to code quality