Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm replacing the grammar for
mcfunction
(introduced in #4425 by @Arcensoth) fromlanguage-mcfunction
tosyntax-mcfunction
.Description
syntax-mcfunction
is a new grammar written from scratch to support the newer features of Minecraft commands in newer versions of the game. This grammar was actually a prototype of a rework that Arcensoth and I planned on working together on. Unfortuntely, Arcensoth unexpectedly passed away. This grammar is now in theMinecraftCommands
org so that it's easier to get more contributors from the community (atm, I'm the sole maintainer).The README contains a lot of detail for how this grammar differentiates itself from the original but the key differences are that it supports multi-line command and it lacks a lot of error highlighting to support future versions and custom commands (via mods or custom pre-processors). This is much more of a permissive highlighter which supports more of the community projects (such as bolt which can specify
.bolt
files being highlighted by the.mcfunction
language via a.gitattributes
file).Checklist:
Questions
It seems like I have 1 warning related to the
say
repo, I'm not entirely sure how to parse this so I might need some help to figure this out. Please let me know if I need to follow any other instructions from the contributing guide.