Class Neovim::Host
In: lib/neovim/host/loader.rb
lib/neovim/host.rb
Parent: Object

@api private

Methods

handle   new   register   run   run  

Included Modules

Logging

Classes and Modules

Class Neovim::Host::Loader

Attributes

handlers  [R] 
specs  [R] 

Public Class methods

Start a plugin host. This is called by the +nvim-ruby-host+ executable, which is spawned by nvim to discover and run Ruby plugins, and acts as the bridge between nvim and the plugin.

Public Instance methods

Handle messages received from the host. Sends a +Neovim::Client+ along with the message to be used in plugin callbacks.

Register a Plugin to receive Host messages.

Run the event loop, passing received messages to the appropriate handler.

[Validate]