packages feed

hls-exactprint-utils-0.5.0.1: hls-exactprint-utils.cabal

cabal-version: 2.2
name:          hls-exactprint-utils
version:       0.5.0.1
synopsis:      Common utilities to interaction between ghc-exactprint and HLS plugins.
description:
  Please see the README on GitHub at <https://github.com/haskell/haskell-language-server#readme>
homepage:      https://github.com/haskell/haskell-language-server/hls-exactprint-utils
bug-reports:   https://github.com/haskell/haskell-language-server/issues
license:       Apache-2.0
license-file:  LICENSE
author:        Sandy Maguire, Hiromi ISHII
maintainer:    Sandy Maguire <sandy@sandymaguire.me>, HiromiISHII <konn.jinro@gmail.com>
copyright:     Sandy Maguire, Hiromi ISHII
category:      Web
build-type:    Simple

flag pedantic
  description: Enable -Werror
  default:     False
  manual:      True

source-repository head
  type:     git
  location: https://github.com/haskell/haskell-language-server

library
  exposed-modules:
    Ide.TreeTransform

  hs-source-dirs:   src
  build-depends:
      base                  >=4.12    && <5
    , dlist
    , ghc
    , ghc-exactprint
    , ghcide
    , haskell-lsp-types
    , hls-plugin-api
    , retrie
    , syb
    , text
    , transformers


  ghc-options:      -Wall -Wredundant-constraints -Wincomplete-uni-patterns

  if flag(pedantic)
    ghc-options: -Werror

  default-language: Haskell2010