Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit84815f0

Browse files
committed
Add hls-render-plugin, used to run "render actions" on top level values, based on their types
1 parente00b5dd commit84815f0

File tree

4 files changed

+497
-2
lines changed

4 files changed

+497
-2
lines changed

‎haskell-language-server.cabal

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,60 @@ test-suite hls-eval-plugin-tests
517517
, lsp-types
518518
, text
519519

520+
-----------------------------
521+
-- render plugin
522+
-----------------------------
523+
524+
flagrender
525+
description: Enable render plugin
526+
default: True
527+
manual: True
528+
529+
commonrender
530+
if flag(render)
531+
build-depends:haskell-language-server:hls-render-plugin
532+
cpp-options: -Dhls_render
533+
534+
library hls-render-plugin
535+
import: defaults, pedantic, warnings
536+
if !flag(render)
537+
buildable: False
538+
exposed-modules:
539+
Ide.Plugin.Render
540+
other-modules:
541+
Ide.Plugin.Render.Config
542+
hs-source-dirs: plugins/hls-render-plugin/src
543+
544+
build-depends:
545+
, aeson
546+
, bytestring
547+
, containers
548+
, deepseq
549+
, Diff ^>=0.5
550+
, dlist
551+
, extra
552+
, filepath
553+
, ghc
554+
, ghc-boot-th
555+
, ghcide==2.10.0.0
556+
, hls-graph
557+
, hls-plugin-api==2.10.0.0
558+
, lens
559+
, lsp
560+
, lsp-types
561+
, megaparsec>=9.0
562+
, mtl
563+
, parser-combinators>=1.2
564+
, text
565+
, text-rope
566+
, transformers
567+
, unliftio
568+
, safe-exceptions
569+
, unordered-containers
570+
571+
default-extensions:
572+
DataKinds
573+
520574
-----------------------------
521575
-- import lens plugin
522576
-----------------------------
@@ -1836,6 +1890,7 @@ library
18361890
, changeTypeSignature
18371891
, class
18381892
, eval
1893+
, render
18391894
, importLens
18401895
, rename
18411896
, retrie

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp