Skip to main content

Module brackets

Module brackets 

Source
Expand description

Bracket-pair matching: find the counterpart of a bracket at or near the cursor.

Functionsยง

find_matching_bracket
Returns the positions of a matched bracket pair if the cursor is on or adjacent to a bracket. The first element is the opening bracket, the second is the closing bracket.