Skip to content

Set the language selecting only a specific file. #5273

Answered by Nixinova
JoseDeFreitas asked this question in Q&A
Discussion options

You must be logged in to vote

README.md linguist-language=Foo should work; do note that Linguist caches language statistics so you may need to edit the readme file after changing the gitattributes to force Linguist to update its classification of that file.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@JoseDeFreitas
Comment options

@lildude
Comment options

@JoseDeFreitas
Comment options

Answer selected by JoseDeFreitas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants