nvim-hs-0.2.1: Haskell plugin backend for neovim

Copyright(c) Sebastian Witte
LicenseApache-2.0
Maintainerwoozletoff@gmail.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Neovim.Plugin.IPC

Description

This module reexports publicly available means to communicate between different plugins (or more generally threads running in the same plugin provider).

Synopsis

Documentation

data SomeMessage Source #

Taken from xmonad and based on ideas in /An Extensible Dynamically-Typed Hierarchy of Exceptions/, Simon Marlow, 2006.

User-extensible messages must be put into a value of this type, so that it can be sent to other plugins.

Constructors

Message msg => SomeMessage msg 

fromMessage :: Message message => SomeMessage -> Maybe message Source #

Try to convert a given message to a value of the message type we are interested in. Will evaluate to Nothing for any other type.