grafana / play-thema

https://grafana.github.io/play-thema/
4 stars 1 forks source link

Add support for CUE syntax highlighting #20

Open joanlopez opened 1 year ago

joanlopez commented 1 year ago

Currently, the editor is using Go syntax highlighting for CUE inputs, because it highlights some syntax, but would definitely much better to have CUE syntax highlighting there.

Here's the support of CUE for VSCode, but after a quick look, it seems to be not compatible with the Monaco editor, so some work will be required to "port" that support to Monaco, and/or find another alternative way to have support for CUE on Thema Playground