Skip to content

feat: add comment-syntax flag#139

Merged
tjdevries merged 1 commit intomainfrom
variable-comment-syntax
Apr 3, 2023
Merged

feat: add comment-syntax flag#139
tjdevries merged 1 commit intomainfrom
variable-comment-syntax

Conversation

@tjdevries
Copy link
Copy Markdown
Contributor

@tjdevries tjdevries commented Apr 3, 2023

Fixes: #111

Test plan

  • Use on something like a python project to do # as the prefix, instead of //

Copy link
Copy Markdown

@Strum355 Strum355 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving, cant check from mobile but does this properly handle comment syntaxes that are different in length than //? I feel like there could be a case of one-off if using # but that might already be handled

@tjdevries
Copy link
Copy Markdown
Contributor Author

It checks for the length of the comment syntax provided.

@tjdevries tjdevries merged commit 9859fd4 into main Apr 3, 2023
@tjdevries tjdevries deleted the variable-comment-syntax branch April 3, 2023 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

snapshot: use correct language-specific comment token for snapshot output

2 participants