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

Allow same line comments #14

Open
salim7 opened this issue May 19, 2020 · 1 comment
Open

Allow same line comments #14

salim7 opened this issue May 19, 2020 · 1 comment

Comments

@salim7
Copy link

salim7 commented May 19, 2020

Awesome project, simple and useful!
What doesn't work are comments at the end of a line, example:
db.port=8080 # this is some port
Of course, this would also mean that values may not contain hashtag. Maybe an option for the reader can be set whether to enable or disable this same-line comments feature?

@ufoscout
Copy link
Owner

@salim7
You are proposing a feature that I have never thought about. I am not against it, but from my point of view, whole-line comments are more common and more clear.
Anyway, feel free to send a PR for supporting that style of comments with a flag and I'll evaluate it for sure.

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

No branches or pull requests

2 participants