Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

also find comments with *only* leading whitespace #6

Merged
merged 1 commit into from
Jun 8, 2024

Conversation

andreasbrett
Copy link
Owner

The current comment_pattern only works for those lines where the comment character (#) is at the start of the line. This change extends the pattern to also match those lines with only whitespace ahead of them.

@kepath I want to create a maintained fork of watchman as it appears to have become stale. I liked your PR and would like to merge it here. It's a simple fix and looks like it should work right away. Have you tested it?

ref: dummylabs#124

@andreasbrett andreasbrett merged commit 726fc7b into andreasbrett:main Jun 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants