nvim-hs-0.0.6: Haskell plugin backend for neovim

PortabilityGHC
Stabilityexperimental
Maintainerwoozletoff@gmail.com
Safe HaskellNone

Neovim.Plugin.Internal

Description

 

Synopsis

Documentation

newtype ExportedFunctionality r st Source

This data type is used in the plugin registration to properly register the functions.

Constructors

EF (FunctionalityDescription, [Object] -> Neovim r st Object) 

getFunction :: ExportedFunctionality r st -> [Object] -> Neovim r st ObjectSource

Extract the function of an ExportedFunctionality.

data NeovimPlugin Source

Plugin values are wraped inside this data type via wrapPlugin so that we can put plugins in an ordinary list.

Constructors

forall r st . NeovimPlugin (Plugin r st) 

data Plugin r st Source

This data type contains meta information for the plugin manager.

Constructors

Plugin 

Fields

exports :: [ExportedFunctionality () ()]
 
statefulExports :: [(r, st, [ExportedFunctionality r st])]
 

wrapPlugin :: Monad m => Plugin r st -> m NeovimPluginSource

Wrap a Plugin in some nice blankets, so that we can put them in a simple list.