bracketMatchingHandle

A NodeProp that language parsers can attach to node types to provide custom bracket-matching behavior. The function receives the syntax node and the document state, and returns a MatchResult if this node represents a bracket, or null otherwise.

This allows languages with non-standard bracket syntax to participate in bracket matching and highlighting.