neovim / neovim-ruby

Ruby support for Neovim
MIT License
340 stars 17 forks source link

Make provider requests outside the main thread raise an error #10

Closed alexgenco closed 8 years ago

alexgenco commented 8 years ago

Since Ruby Fibers can't be coordinated across threads, we will likely need to make some dramatic changes to support multithreaded access to neovim inside ruby scripts. In the meantime, this just writes an error message when a request is made outside the parent thread.