Skip to content

Smart pairs are fooled by pairs that live inside strings #51

@eyalz800

Description

@eyalz800

I have pear tree configured for smart pairs, and while having a pair inside a string, trying to press '(' and ')' inserts another closing pair:
image

Expected behavior - pear tree skips the enclosing pair, ignoring the opening pair inside the string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions