nvim-hs-0.2.2: Haskell plugin backend for neovim

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

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) 

data StatefulFunctionality r st Source #

This datatype contains the initial state (mutable and immutable) for the functionalities defined here.

getFunction :: ExportedFunctionality r st -> [Object] -> Neovim r st Object Source #

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

NeovimPlugin (Plugin r st) 

data Plugin r st Source #

This data type contains meta information for the plugin manager.

Constructors

Plugin 

wrapPlugin :: Applicative m => Plugin r st -> m NeovimPlugin Source #

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