foldNodeProp

A node prop that attaches fold information to node types.

The function receives a SyntaxNode and the state, and returns a FoldRange or null.