I’m working on a custom editor for VSCode using Lezer for syntax highlighting. I have the user’s entire VSCode theme (TextMate language grammar scopes and colors) in memory in the custom editor, and I am trying to define a HighlightStyle based on it. This is inherently a lossy process (for example, I don’t think there’s a parameter tag in lezar, but there definitely is in VSCode themes). I have something working, but its not great.
Has anyone attempted this or something like it before? Any tips are appreciated.
I’ll share here if I gain any insights.