Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- debugJson :: Bool
- spawnAgda :: Buffer -> Neovim CornelisEnv Agda
- dropPrefix :: Text -> Text -> Text
- runIOTCM :: Interaction -> Agda -> Neovim env ()
- buildIOTCM :: Interaction -> Buffer -> Neovim env IOTCM
- withCurrentBuffer :: (Buffer -> Neovim env a) -> Neovim env a
- withAgda :: Neovim CornelisEnv a -> Neovim CornelisEnv a
- getAgda :: Buffer -> Neovim CornelisEnv Agda
Documentation
spawnAgda :: Buffer -> Neovim CornelisEnv Agda Source #
Create an Agda
environment for the given buffer. This spawns an
asynchronous thread that keeps an agda process alive as long as vim is open.
TODO(sandy): This leaks the process when the buffer is closed.
runIOTCM :: Interaction -> Agda -> Neovim env () Source #
Send an Interaction
to an Agda
.
buildIOTCM :: Interaction -> Buffer -> Neovim env IOTCM Source #
Construct an IOTCM
for a buffer.
withCurrentBuffer :: (Buffer -> Neovim env a) -> Neovim env a Source #
Get the current buffer and run the continuation.
withAgda :: Neovim CornelisEnv a -> Neovim CornelisEnv a Source #
Ensure we have a BufferStuff
attached to the current buffer.