Closed motlin closed 1 month ago
We can click around and see the syntax highlighting with links like this one: https://github.com/motlin/eclipse-collections/blob/gitattributes-StringTemplate/eclipse-collections-code-generator/src/main/resources/primitiveLiteral.stg.
I wanted to put up the PR but I'm no longer sure this is the correct thing to do. I think ST and STG may be two slightly different syntaxes.
@motlin Feel free to merge this one after you rebase. We can ignore the failing Early Access build.
This project's StringTemplate files are rendering in GitHub as plain text. Looking in the Linguist supported languages, I see that StringTemplate is present but is set to match
*.st
files and not*.stg
files. Following the GitHub docs I set *.stg to linguist-linguist=StringTemplate in .gitattributes.Before:
After: