Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- formatting :: Map PluginId (FormattingProvider IO) -> LspFuncs Config -> IdeState -> DocumentFormattingParams -> IO (Either ResponseError (List TextEdit))
- rangeFormatting :: Map PluginId (FormattingProvider IO) -> LspFuncs Config -> IdeState -> DocumentRangeFormattingParams -> IO (Either ResponseError (List TextEdit))
- noneProvider :: FormattingProvider IO
- responseError :: Text -> ResponseError
- extractRange :: Range -> Text -> Text
- fullRange :: Text -> Range
Documentation
formatting :: Map PluginId (FormattingProvider IO) -> LspFuncs Config -> IdeState -> DocumentFormattingParams -> IO (Either ResponseError (List TextEdit)) Source #
rangeFormatting :: Map PluginId (FormattingProvider IO) -> LspFuncs Config -> IdeState -> DocumentRangeFormattingParams -> IO (Either ResponseError (List TextEdit)) Source #
responseError :: Text -> ResponseError Source #