nvim-hs-2.1.0.2: Haskell plugin backend for neovim

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

Neovim.Test

Description

 
Synopsis

Documentation

testWithEmbeddedNeovim Source #

Arguments

:: Maybe (Path b File)

Optional path to a file that should be opened

-> Seconds

Maximum time (in seconds) that a test is allowed to run

-> env

Read-only configuration

-> Neovim env a

Test case

-> IO () 

Run the given Neovim action according to the given parameters. The embedded neovim instance is started without a config (i.e. it is passed -u NONE).

If you want to run your tests purely from haskell, you have to setup the desired state of neovim with the help of the functions in Neovim.API.String.

newtype Seconds Source #

Type synonym for Word.

Constructors

Seconds Word