neovimhaskell / nvim-hs

Neovim API for Haskell plugins as well as the plugin provider
Other
267 stars 18 forks source link

Only start accepting requests after startup has finished #75

Open saep opened 5 years ago

saep commented 5 years ago

If an exposed function is called before the nvim-hs plugin host has fully started, an error is thrown.

Neovim assumes that a plugin is loaded once the channel is open and there is time window of a few milliseconds in which this can cause a problem.