haskell-lsp-0.15.0.1: Haskell library for the Microsoft Language Server Protocol

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.LSP.Control

Synopsis

Documentation

run Source #

Arguments

:: Show configs 
=> InitializeCallbacks configs

function to be called once initialize has been received from the client. Further message processing will start only after this returns.

-> Handlers 
-> Options 
-> Maybe FilePath

File to capture the session to.

-> IO Int 

Convenience function for 'runWithHandles stdin stdout'.

runWithHandles Source #

Arguments

:: Show config 
=> Handle

Handle to read client input from.

-> Handle

Handle to write output to.

-> InitializeCallbacks config 
-> Handlers 
-> Options 
-> Maybe FilePath 
-> IO Int 

Starts listening and sending requests and responses at the specified handles.