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

Suggestion: use case-insensitive match for value of option language #155

Open
aviflax opened this issue Feb 14, 2020 · 0 comments
Open

Suggestion: use case-insensitive match for value of option language #155

aviflax opened this issue Feb 14, 2020 · 0 comments

Comments

@aviflax
Copy link

aviflax commented Feb 14, 2020

This just happened:

$ unibeautify --inplace --language markdown my-doc.md 
Language 'markdown' was not found. Did you mean:
  - Markdown

The “did you mean” is nifty, but a case-insensitive matching would have been even better here — it would have “just worked.”

(I’m also puzzled why the tool doesn’t just derive the language from the filename extension, but I guess that’d be a different issue.)

Thanks for the compelling tool!

@aviflax aviflax changed the title Suggestion: use case-insensitive match for value of --language Suggestion: use case-insensitive match for value of option language Feb 14, 2020
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

1 participant