Can any VS Code extensions be used in Onivim 2? Despite appearances, Onivim isn't a VS Code fork, it doesn't use Electron, and it's not written in Javascript-- it just happens to take substantial inspiration from VS Code's UI.
We host the VSCode extension host, which is how Oni2 can use VSCode extensions.
I.e, the whole front end and core editor is native code (ReasonML/C), and then there is a nicely typed interface where we communicate with a node instance to run VSCode extensions. We broadly end up with Oni2 <-> Ext Host <-> Extension.
We have to implement the Oni2 side for each thing, so parse the message sent, and how to action on that and render it, but it lets us run VSCode extensions, still in a native editor.
There are some caveats, like the license issue mentioned, the largest being that extensions that heavily depend on rendering custom components / web pages aren't possible, just since Revery has no browser etc to render anything like that with.
We've focused on language ones to start though, and that has meant we support a decent selection of langauges as adding one feature unblocks loads of extensions.