haskell-language-server-2.9.0.0: LSP server for GHC
Safe HaskellSafe-Inferred
LanguageGHC2021

Ide.Plugin.StylishHaskell

Synopsis

Documentation

provider :: Recorder (WithPriority Log) -> FormattingHandler IdeState Source #

Formatter provider of stylish-haskell. Formats the given source in either a given Range or the whole Document. If the provider fails an error is returned that can be displayed to the user.

data Log Source #

Instances

Instances details
Pretty Log Source # 
Instance details

Defined in Ide.Plugin.StylishHaskell

Methods

pretty :: Log -> Doc ann #

prettyList :: [Log] -> Doc ann #