Skip to main content

detect_list_style

Function detect_list_style 

Source
pub fn detect_list_style(cst: &CabalCst, field_node: NodeId) -> ListStyle
Expand description

Detect the list style of a field node.

Examines the field’s inline value and ValueLine children to determine which formatting convention is used.