How to sync languages for Monaco

Hi there,

Thank you for all the work you guys put in for building the Yjs ecosystem. I am trying to setup a shared Monaco editor. I am able to sync the text between instances using the demo code. I would also like to sync the language between the instances. Is there an extension mechanism that I can leverage to add the additional code for language sync?

Thanks
Lallu