Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions haskell-language-server.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,60 @@ test-suite hls-eval-plugin-tests
, lsp-types
, text

-----------------------------
-- render plugin
-----------------------------

flag render
description: Enable render plugin
default: True
manual: True

common render
if flag(render)
build-depends: haskell-language-server:hls-render-plugin
cpp-options: -Dhls_render

library hls-render-plugin
import: defaults, pedantic, warnings
if !flag(render)
buildable: False
exposed-modules:
Ide.Plugin.Render
other-modules:
Ide.Plugin.Render.Config
hs-source-dirs: plugins/hls-render-plugin/src

build-depends:
, aeson
, bytestring
, containers
, deepseq
, Diff ^>=0.5
, dlist
, extra
, filepath
, ghc
, ghc-boot-th
, ghcide == 2.10.0.0
, hls-graph
, hls-plugin-api == 2.10.0.0
, lens
, lsp
, lsp-types
, megaparsec >=9.0
, mtl
, parser-combinators >=1.2
, text
, text-rope
, transformers
, unliftio
, safe-exceptions
, unordered-containers

default-extensions:
DataKinds

-----------------------------
-- import lens plugin
-----------------------------
Expand Down Expand Up @@ -1836,6 +1890,7 @@ library
, changeTypeSignature
, class
, eval
, render
, importLens
, rename
, retrie
Expand Down
Loading
Loading