Safe Haskell | None |
---|---|
Language | GHC2021 |
Ide.Plugin.CabalFmt
Documentation
descriptor :: Recorder (WithPriority Log) -> PluginId -> PluginDescriptor IdeState #
provider :: Recorder (WithPriority Log) -> FormattingHandler IdeState #
Formatter provider of cabal fmt. 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.