Error when I define the languageDef in the UserConfig #484
Replies: 1 comment
-
It looks like you've registered the theme service override, isn't it? Then you can use monarch grammars anymore |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all. I ran into a problem and I don't really know what is the solution.
I've configured the monaco-editor and provided the user config to it. I would like to add langugeDef with monarchLanguage settings for Kotlin. When I define the configs I got error:
And the error row, in the
MonarchModernTokensCollector
class.The currently set theme is undefined. I've tried define one, but i dont know the proper use case for that. The methods what I found, caused server re-initialized error.
Do you have any idea what can cause the problem?
Beta Was this translation helpful? Give feedback.
All reactions