Hello everyone, I hope all is well
I’m using CodeMirror v6 and wanna integrate the Ruby language into my project, is there an official npm package that support ruby() and rubyLanguage ?
There’s a ruby mode in the legacy mode package, but a full, Lezer-based language doesn’t exist yet, as far as I know.
Does this mode support the code mirror functionalities ? like syntax highlighting, auto complete and hints, etc
Just highlighting and indentation.
How can I install it and add it into my project ?
Also, is there any possibility that ruby can be added in the future ? it is a really interesting language.
I’m always happy to take on paid implementations of new language packages, but outside of that, there are no plans for new language packages from my side.
Hello, I noticed that I after I added this package, the editor component crashed and stopped working for other languages, is there anything else I can use ? @marijn
That probably means you ended up with multiple versions of some @codemirror or @lezer packages in your dependency tree. npm ls -a
can sometimes help figure out why. Installing with npm, not yarn (and not using a CDN) is often the solution.
yeah that helped, I rechecked the dependencies. Thanks !