go-up icon indicating copy to clipboard operation
go-up copied to clipboard

Allow same line comments

Open salim7 opened this issue 5 years ago • 1 comments

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?

salim7 avatar May 19 '20 04:05 salim7

@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.

ufoscout avatar May 20 '20 16:05 ufoscout