rust-monaco
rust-monaco copied to clipboard
Add the yaml worker for `yaml` syntax highlighting,
Added a yaml worker to handle yaml syntax and color highlighting.
I am wondering if it would make sense to have additional workers enabled by features?
That's a great idea. So you can only enable those that you need.
@clementwanjau can you please add pgsql worker too? I tried to do the same but it didn't work for me. -,-
@clementwanjau can you please add pgsql worker too? I tried to do the same but it didn't work for me. -,-
@dancixx sure, I can try and do that
@clementwanjau my process was to generate one file bundle using bun bundler and add it the same way as you did. I have bundled this package: monaco-sql-languages, but the worker was not loaded for some reason. If you can do this, please share the steps; I would likely do the same with the other SQL languages. Thanks for your effort.
@clementwanjau could you do something with this?
@dancixx Did you succeed in implementing your pgsql worker?
@clementwanjau No I couldn't do that, I tried it several times but it's still not working.