ribosome-host-0.9.9.9: Neovim plugin host for Polysemy
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ribosome.Host.Data.Event

Description

Events sent from Neovim to the host.

Synopsis

Documentation

newtype EventName Source #

The name of an event, which corresponds to the RPC method in the payload.

Constructors

EventName 

Fields

data Event Source #

An event is an RPC notification sent by Neovim that is not intended to be dispatched to a named handler, but consumed in a broadcasting fashion.

Since they aren't marked as such, the host treats any notification with an unknown method name as an event.

Events can be consumed with Consume and subscribe.

Constructors

Event 

Fields

Instances

Instances details
Show Event Source # 
Instance details

Defined in Ribosome.Host.Data.Event

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Eq Event Source # 
Instance details

Defined in Ribosome.Host.Data.Event

Methods

(==) :: Event -> Event -> Bool #

(/=) :: Event -> Event -> Bool #