Skip to content
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

funsig keyword not colored #1

Open
samolego opened this issue Nov 25, 2024 · 1 comment
Open

funsig keyword not colored #1

samolego opened this issue Nov 25, 2024 · 1 comment

Comments

@samolego
Copy link

samolego commented Nov 25, 2024

Hi there!

First off, thanks for the extension! We're using SML at my university and this comes in really handy!

I'd like to point out that funsig keyword doesn't seem to be "detected" as such.

Screenshot_20241125_072934

Here's some uses of it: https://www.smlnj.org/doc/features.html

@omarjatoi
Copy link
Owner

omarjatoi commented Nov 25, 2024

Hi! Really glad to hear the extension is useful.

Thanks for opening the issue, the underlying cause here is the tree-sitter grammar I'm using for SML (tree-sitter-sml) does not support all the SML/NJ extensions and I believe funsig in one such extension (i.e. not in 'The Definition of Standard ML').

That said, let me see if I can add some kind of override in highlights.scm so the funsig keyword gets highlighted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants