Linguist not ignoring vendor files even after setting .gitattributes

I have a repository of my college project in OpenGL and I’m using external libraries for image loading and maths written in c. My project is written in C++ and I have set up the gitattributes files properly as described in the docs yet the libraries are not ignored in linguist.

My Repository:

gitattributes file :

Hi @captaindynamight,

Thanks for being here! I’m unable to see your .gitattributes file. If is on a private repo could you please write directly to support for assistance. If you haven’t already, please contact us at with the info, so we can look into that further.

Extremely sorry for the removal of the file. I have reuploaded the file yet the issue still exists