I have a repository that has Python source code in it, but the files are suffixed *.pyp
. Is there a way to "assign it" to the Python language? (shown in tags, syntax highlighting, etc.)
I thought I saw something like this possible in the .gitattributes
file..
I thought I saw something like this possible in the
.gitattributes
file..
Yes, this is possible using Linguist overrides. You'd want:
*.pyp linguist-language=Python
However, .pyp
is recognized by Linguist since June 2014 (after your question's date).