Is your feature request related to a problem? Please describe.
Yes — there is no support for the begin
and end
keywords. end
is highlighted in green, begin
is not highlighted at all. While the majority of GML users use curly braces to denote blocks, begin
and end
are still valid in the language and used.
Describe the solution you'd like
Highlighting for the begin
and end
keywords.
Describe alternatives you've considered
Not sure what I would have to type here, but I suppose it's worth mentioning that I have forked the repo and added begin
and end
myself. I tested them through Lightshow and received this result:
If you want me to, I can make a PR.
Additional context
This is unrelated to the begin
and end
keywords, but I would like to request that you consider adding this syntax (ideally with the begin
and end
keywords) to github/linguist. This is the central repository that manages all syntax highlighting for GitHub code files. GML is not currently supported by it and it instead uses a grammar made for the programming language C, leading to a partial result:
Et cetera.
With your grammar:
(The difference in syntax colours is because the partial results are screenshotted from GitHub itself, whereas the ones with the syntax working correctly are from GitHub Lightshow [A grammar tester], where I have a custom stylesheet running in my browser)
Hoping to hear from you soon.