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

Support extensions other than json and yaml #21

Merged
merged 3 commits into from
Mar 19, 2018

Conversation

DW8Reaper
Copy link

At my company we are using swagger as our file extension and not yaml. This change allows file types of plaintext to still be previewed as swagger files.

Further it checks the language id instead of the file extensions which should resolve files called yml instead of yaml.

@arjun-g arjun-g merged commit 23e53f0 into arjun-g:master Mar 19, 2018
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.

2 participants