Skip to content

Conversation

@jparise
Copy link
Owner

@jparise jparise commented Sep 14, 2020

When searching backwards for a matching bracket, we use searchpair()'s
'skip' expression to ignore any candidates inside of strings and
comments.

When checking whether the previous line ends in an opening bracket, we
exclude any matches that are part of a comment.

When searching backwards for a matching bracket, we use searchpair()'s
'skip' expression to ignore any candidates inside of strings and
comments.

When checking whether the previous line ends in an opening bracket, we
exclude any matches that are part of a comment.
@jparise jparise merged commit b06a6e6 into master Sep 14, 2020
@jparise jparise deleted the indent-comments branch September 14, 2020 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants