-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Add filenames to lex #4952
Add filenames to lex #4952
Conversation
Please let me know if there are any changes I need to make, to get this merged. |
Looks like you missed off adding the sample file you referenced 😄 |
Oh yes, and popularity looks good. |
thanks @lildude for the pointers. I fixed the link. |
@philass we still need a copy of the file added to the |
Sorry about that, I misunderstood what you said. Thanks for your patience! |
I think everything should be good now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Add filenames to lex * Add sample to Lex * Put Lexer.x in filenames * delete Lexer.x from languages.yml * Add Lexer.x to languages.yml * Fix filename ordering
Added: * CoffeeScript: `.coffee.md` (github-linguist/linguist#4957) * Lex: `lexer.x` (github-linguist/linguist#4952) * NGINX: `.nginx` (github-linguist/linguist#4965) * Ruby: `.simplecov` (github-linguist/linguist#4976)
Added: * CoffeeScript: `.coffee.md` (github-linguist/linguist#4957) * Lex: `lexer.x` (github-linguist/linguist#4952) * NGINX: `.nginx` (github-linguist/linguist#4965) * Ruby: `.simplecov` (github-linguist/linguist#4976) file-icons/atom@56528ed
Lots of people name their Lex files Lexer.x or lexer.x. The issue is that the are incorrectly classifies with the
Logos
language. This PR aims to fix that.Description
Checklist:
The new extension is used in hundreds of repositories on GitHub.com
I have included a real-world usage sample for all extensions added in this PR:
Sample source(s):
Sample license(s): ISC License
I have included a change to the heuristics to distinguish my language from others using the same extension.