Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for custom line number generation #38

Merged
merged 1 commit into from Dec 27, 2020
Merged

Added support for custom line number generation #38

merged 1 commit into from Dec 27, 2020

Conversation

UbadahJ
Copy link
Contributor

@UbadahJ UbadahJ commented Dec 26, 2020

Hey!

Loved your project and decided to use it in my personal project but there was a little feature missing from it which was custom lines support. So forked it and added a property to allow changing this behavior. If the code up to par or the feature is not unnecessary, you can merge it.

@markusressel
Copy link
Owner

@UbadahJ
Thx for the PR!

May I ask what the use case is that you needed this functionality for?

I assume that the default implementation in this PR works the same as the previous one, so I can safely merge without breaking changes?

@UbadahJ
Copy link
Contributor Author

UbadahJ commented Dec 27, 2020

The default implementation is same as before just in the form of a generator

As for the use case, it may be used for localization but in my case, I used it remove the postfix from line numbers

@markusressel
Copy link
Owner

Interesting! Thx again for your work, will merge! 🤓

@markusressel markusressel merged commit 4e247b9 into markusressel:master Dec 27, 2020
@UbadahJ
Copy link
Contributor Author

UbadahJ commented Dec 27, 2020

Keep up the good work!

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.

None yet

2 participants