-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub Linguist Syntax Bug #1626
Comments
I mentioned it there, but I am working on getting the tree-sitter syntax working better: https://github.com/IndianBoy42/tree-sitter-just. I think GH should be able to use this. |
Unfortunately, GitHub Linguist only supports the venerable TextMate format. I have updated the syntax highlighting to use SublimeText format in the just_sublime package, but that isn't supported by GitHub at present either. While it won't help you on GitHub, it's perhaps interesting to note that multiline strings work fine in the rewritten Sublime syntax, and (I belive) also in the vim-just syntax. |
GH does apparently support tree-sitter grammars for some languages, sounds like it just isn't very public according to github-linguist/linguist#6073. So I did what is suggested there and opened a discussion at https://github.com/orgs/community/discussions/116733, guess we will see if it goes anywhere... |
Wow, TIL! Good to see that they're expanding the sorts of grammars they're supporting. |
Please ref the discussion I opened here: github-linguist/linguist#6401 (comment). There is an issue with the
just
syntax for multi-line strings that I am hoping can be fixed, as it makes several of myjustfile
s to be almost no better than just plaintext files 😅In this comment, I noticed that the repo that the linguist file is pointing to is archived. It should likely be updated to something else, perhaps a grammar maintained in this repository itself?
The text was updated successfully, but these errors were encountered: