Issue with syntax highlighting for custom language

I am new to CodeMirror and I am creating a custom language. Currently, I’m trying to get custom highlighting to work.

I have hosted the all the code in this GitHub repository so you can verify anything: GitHub - Lajara-AI/saip

The editor is working fine, but the highlighting isn’t working for any value. Any help would be greatly appreciated.

Please post a specific question.

The question is: Why the highlighting isn’t working for any value?

I think you could provide a minimal working example on replit or code sandbox. Otherwise it is cumbersome to analyse

Got it! Thanks for the recommendation: saip - Replit

Is there any way I can improve this ticket to get some help?

At a glance, you appear to be using 0.x versions of the library packages. Those may not even support the interface described in the current documentation.

Thank you for the insight.
I just updated the dependencies and pushed it to the repo and Replit. Unfortunately, looks like it didn’t solve the problem.

@codemirror/highlight doesn’t exist anymore since the stable releases (and thus is still on 0.x in that repo).

Hey @marijn,

You might have seen the repo before my last commit. I noticed the same thing you mention after posting here and removed the deprecated dependency, but you probably saw it before I committed the changes.

Anyway, I’ve removed it, but I still can’t get it to work.

You still import @codemirror/highlight in one of your source files.