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.
Description
Earlier this year, we added
Bluespec BH
as a language (in theBluespec
group), but there was no TextMate grammar for it, so we pointed to the Haskell grammar, since it's similar and better than nothing. There is now a TextMate grammar for Bluespec BH, so this PR adds that as a submodule (using theadd-grammar
script) and updates theBluespec BH
record to point to it.The repo (
B-Lang-org/language-bh
) is maintained by B-Lang-org, the organization that maintains the open-source BSC compiler. The grammar was adapted from an existing Haskell grammar, with only a few changes so far, but I hope to see more development. If I understand, when Linguist releases are made, the submodules are updated to newer commits; I won't have to submit new PRs to update this submodule.I am unaware of anything I can run to test the highlighter changes, although I assume that
script/add-grammar
performed some checks.Checklist:
I am adding a new extension to a language.
I am adding a new language.
#RRGGBB
I am fixing a misclassified language
I am changing the source of a syntax highlighting grammar
I am updating a grammar submodule
I am adding new or changing current functionality
I am changing the color associated with a language