nvimhost
package nvimhost
- Alphabetic
- Public
- All
Type Members
- case class ArrayBufferBufferPromiseBox(p: Promise[ArrayBuffer[Buffer]]) extends PromiseBox with Product with Serializable
- case class ArrayBufferIntPromiseBox(p: Promise[ArrayBuffer[Int]]) extends PromiseBox with Product with Serializable
- case class ArrayBufferStringPromiseBox(p: Promise[ArrayBuffer[String]]) extends PromiseBox with Product with Serializable
- case class ArrayBufferTabPagePromiseBox(p: Promise[ArrayBuffer[TabPage]]) extends PromiseBox with Product with Serializable
- case class ArrayBufferWindowPromiseBox(p: Promise[ArrayBuffer[Window]]) extends PromiseBox with Product with Serializable
- case class BooleanPromiseBox(p: Promise[Boolean]) extends PromiseBox with Product with Serializable
- case class BufferPromiseBox(p: Promise[Buffer]) extends PromiseBox with Product with Serializable
-
class
ClientActor extends Actor with LazyLogging with Stash
Actor to represent an IO/TCP client to connect to Nvim.
Actor to represent an IO/TCP client to connect to Nvim. It mostly sends RPC requests asynchronously
- case class DoublePromiseBox(p: Promise[Double]) extends PromiseBox with Product with Serializable
- case class IntPromiseBox(p: Promise[Int]) extends PromiseBox with Product with Serializable
- case class Notify(msg: NotifyMsg) extends Product with Serializable
-
class
NotifyMsg extends NvimMsg
Represent an asynchronous RPC notify message.
Represent an asynchronous RPC notify message. At the moment it's not used since the synchronous message leverage async IO/TCP communication
-
class
NvimAPI extends LazyLogging
Nvim API wrapper.
Nvim API wrapper. It uses an async TCP socket to connect to Nvim
-
abstract
class
NvimMsg extends AnyRef
Base abstract class to represent Nvim message types
-
abstract
class
Plugin extends LazyLogging
Abstraction that represents a Nvim Plugin
-
class
PluginActor extends Actor with LazyLogging
Actor to represent an IO/TCP plugin, it's channel is dedicated to receive and reply RPC message.
Actor to represent an IO/TCP plugin, it's channel is dedicated to receive and reply RPC message. This actor needs to embed an instance of NvimAPI since the plugin has to set a variable to bootstrap the plugin RPC channel and send messages to Nvim
- final case class PluginParsingException(message: String = "", cause: Throwable = None.orNull) extends Exception with Product with Serializable
-
sealed
trait
PromiseBox extends AnyRef
Implicit conversions to facilitate msgpack parsing
- case class Request(msg: RequestMsg, promise: PromiseBox) extends Product with Serializable
-
class
RequestMsg extends NvimMsg
Represent a RPC msgpack request type message.
Represent a RPC msgpack request type message. This message is serialized as msgpack, and the transmission leverages async IO/TCP
-
class
ResponseMsg extends AnyRef
Represent a RPC msgpack response type message
- case class StringPromiseBox(p: Promise[String]) extends PromiseBox with Product with Serializable
- case class TabPagePromiseBox(p: Promise[TabPage]) extends PromiseBox with Product with Serializable
- case class UnitPromiseBox(p: Promise[Unit]) extends PromiseBox with Product with Serializable
- case class WindowPromiseBox(p: Promise[Window]) extends PromiseBox with Product with Serializable
Value Members
-
object
Conversions
Implicit conversions to facilitate msgpack parsing
-
object
NvimTypes
To represent Nvim types
-
object
Parser
Parser to create either synchronous or asynchronous msgpack messages
-
object
Reflection
Object responsible for runtime reflections and compile time parsing plugin methods