highlightjs / highlight.js

JavaScript syntax highlighter with language auto-detection and zero dependencies.
https://highlightjs.org/
BSD 3-Clause "New" or "Revised" License
23.3k stars 3.52k forks source link

Update gml.js to match 2024.2 version of GML language #4023

Closed gnysek closed 3 months ago

gnysek commented 3 months ago

Updates definitions of GameMakerLanguage to it's latest version, from March 2024.

Based on fnames file which is a part of GameMaker runtime (version 2024.2.0.163) - copy is available here: https://gist.github.com/gnysek/feb6751e2ae0744f2355a8efbd0fff3c .

github-actions[bot] commented 3 months ago

Build Size Report

Changes to minified artifacts in /build, after gzip compression.

5 files changed

Total change +1.39 KB

View Changes | file | base | pr | diff | | --- | --- | --- | --- | | es/core.min.js | 8.2 KB | 8.2 KB | -2 B | | es/highlight.min.js | 8.2 KB | 8.2 KB | -2 B | | es/languages/gml.min.js | 13.74 KB | 14.44 KB | +697 B | | highlight.min.js | 8.23 KB | 8.23 KB | -2 B | | languages/gml.min.js | 13.74 KB | 14.44 KB | +698 B |
joshgoebel commented 3 months ago

Please update changelog also.

gnysek commented 3 months ago

It is already there ( https://github.com/highlightjs/highlight.js/blob/main/CHANGES.md?plain=1#L9 ) except it should be version 11.10.1 or something...

github-actions[bot] commented 3 months ago

Build Size Report

Changes to minified artifacts in /build, after gzip compression.

2 files changed

Total change +1.4 KB

View Changes | file | base | pr | diff | | --- | --- | --- | --- | | es/languages/gml.min.js | 13.74 KB | 14.44 KB | +697 B | | languages/gml.min.js | 13.74 KB | 14.44 KB | +698 B |