FYI -- If it's just in the github UI that you want syntax highlighting to work, you can probably do this with a .gitattributes file (it also works for the "what % of this repo is fortran").
Quoting an example where I had code in a template file (named *.tpl) and wanted github to know it was Fortran...
FYI -- If it's just in the github UI that you want syntax highlighting to work, you can probably do this with a
.gitattributes
file (it also works for the "what % of this repo is fortran").Quoting an example where I had code in a template file (named
*.tpl
) and wanted github to know it was Fortran...(and the file itself: https://github.com/hattom/setmat_threaded/blob/main/test_nest.tpl)
If the problem was syntax highlighting in editors, then I doubt any read the .gitattributes file.