You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Minecraft 1.20.2, a new grammar feature was added: macros. These allow for lines to start with $ and macro substitutions to be performed within the line via $(<var-name>). They also allow for line-continuations via \.
This issue is here to track these new developments and implement new syntax additions to the pygments lexer (alongside some lingering bugs). We can use the textmate grammar I developed as a comparison.
I fully plan to develop a PR once I get a bit more free time to tackle this but I figured to leave an issue open for this.
In Minecraft 1.20.2, a new grammar feature was added: macros. These allow for lines to start with
$
and macro substitutions to be performed within the line via$(<var-name>)
. They also allow for line-continuations via\
.This issue is here to track these new developments and implement new syntax additions to the pygments lexer (alongside some lingering bugs). We can use the textmate grammar I developed as a comparison.
I fully plan to develop a PR once I get a bit more free time to tackle this but I figured to leave an issue open for this.
Initial PR (by me): #2107.
Follow Up PR (by @MiemieMethod): #2276
The text was updated successfully, but these errors were encountered: