0

I use crepe library which provides crepe! macro for Datalog-like syntax code. My theme is not working well with it. For example, in the following code:

crepe! {
    ...
    Edge(x, y) <- Edge(y, x);
}

With my current theme VSCode renders <- not as a single operator, but rather two different symbols (they have different colors).

I want to fix this behavior by writing grammar plugin for this exact macro. Can I do it and how? Or I can fix this issue in another way?

Max Smirnov
  • 477
  • 3
  • 10

0 Answers0