by Tyr42 · 9y ago · 0 comments
Suppose I have vim, and the Rust compiler. I want to add RLS level of support to vim. I download some vimscript plugin, and what? Do you distribute the rust language server as a compiled plugin that you add to the address space of the editor at runtime? And if there's a bug, and it segfaults, then it takes down my entire VIM process?
It seems like there's some complexity in directly calling the code with an API too. It's actually not to bad to just open a pipe and communicate.
Maybe I'm missing something, but wrangling compiled plugins seems like it'd be a bad time.
And as for your question, the answer is ... yes. Sure. Why not? That's what we already do in nearly all IDEs.
Are there any plugins which are binary compatible between more than one IDE? That seems hard.
Said no IDE user, ever.
> Are there any plugins which are binary compatible between more than one IDE? That seems hard.
No. And who cares?