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
I would like support for BeefGithub.
The language syntax itself is relativly similar to c# to the point where the current language highlighting for Github just uses the C# one which would also be fine here imo.
This adds #994 Beeflang.
The syntax itself is just a modifed version of c# with a few keywords
added or removed.
Also Ive added a test and run the test until it worked.
I am unsure if the mime_type is relevant to keep in there since I dont
know where that actually used.
Another thing im unsure of is how the selection of what language/syntax
to use for a file actually works aka:
Does this actually choose Beef syntax highlighting over Brainfuck if its
used on a beef (.bf) file ?
for that I would probably need help.
Co-authored-by: Booklordofthedings <[email protected]>
Ive tested the individual match get and analyse functions.
Get works normally.
Match only matches Beef and never Brainfuck, but I doubt that there is anyone using brainfuck that would be actually impacted by this.
Analyse doesnt seem to match, but I havent really gotten that to match for many other languages either so its probably fine.
Overall my pr was probably enough to be able to close this now
Is there an existing issue for this?
What is the missing lexer?
I would like support for Beef Github.
The language syntax itself is relativly similar to c# to the point where the current language highlighting for Github just uses the C# one which would also be fine here imo.
The main reason I want support is because the file ending overlaps with brainfuck and as such Beef files often end up with no syntax highlighting at all see:
https://code.booklordofthe.dev/Booklordofthedings/Bofa/src/branch/main/src/BofaParser.bf
I could probably implement support for Beef myself if necessary.
Links to existing syntax definitions
https://github.com/github-linguist/linguist/tree/master/vendor
Its in the list and just using the default C# highlighting
The text was updated successfully, but these errors were encountered: