Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
getInitialConfig :: InitializeRequest -> Either Text Config Source #
Given an InitializeRequest message, this function returns the parsed Config object if possible. Otherwise, it returns the default configuration
getConfigFromNotification :: DidChangeConfigurationNotification -> Either Text Config Source #
Given a DidChangeConfigurationNotification message, this function returns the parsed Config object if possible.
We (initially anyway) mirror the hie configuration, so that existing clients can simply switch executable and not have any nasty surprises. There will be surprises relating to config options being ignored, initially though.