Skip to content

Commit ddb21a0

Browse files
committed
Remove internal library haskell-language-server:plugins
1 parent 0ebfeb5 commit ddb21a0

File tree

1 file changed

+64
-75
lines changed

1 file changed

+64
-75
lines changed

haskell-language-server.cabal

+64-75
Original file line numberDiff line numberDiff line change
@@ -50,45 +50,6 @@ common pedantic
5050
if flag(pedantic)
5151
ghc-options: -Werror
5252

53-
library
54-
import: common-deps
55-
-- configuration
56-
, warnings
57-
, pedantic
58-
exposed-modules:
59-
Ide.Arguments
60-
Ide.Main
61-
Ide.Version
62-
63-
other-modules: Paths_haskell_language_server
64-
autogen-modules: Paths_haskell_language_server
65-
hs-source-dirs: src
66-
build-depends:
67-
, async
68-
, base16-bytestring
69-
, bytestring
70-
, containers
71-
, cryptohash-sha1
72-
, data-default
73-
, ghc
74-
, ghcide ^>=1.8
75-
, githash >=0.1.6.1
76-
, lsp
77-
, hie-bios
78-
, hiedb
79-
, hls-plugin-api ^>=1.5
80-
, optparse-applicative
81-
, optparse-simple
82-
, process
83-
, hls-graph
84-
, safe-exceptions
85-
, sqlite-simple
86-
, unordered-containers
87-
, aeson-pretty
88-
89-
default-language: Haskell2010
90-
default-extensions: DataKinds, TypeOperators
91-
9253
-- Plugin flags are designed for 'cabal install haskell-language-server':
9354
-- - Bulk flags should be default:False
9455
-- - Individual flags should be default:True
@@ -370,42 +331,71 @@ common refactor
370331
build-depends: hls-refactor-plugin ^>= 1.0
371332
cpp-options: -Dhls_refactor
372333

373-
library plugins
374-
import: common-deps
334+
library
335+
import: common-deps
375336
-- configuration
376-
, warnings
377-
, pedantic
378-
-- plugins
379-
, callHierarchy
380-
, changeTypeSignature
381-
, class
382-
, haddockComments
383-
, eval
384-
, importLens
385-
, refineImports
386-
, rename
387-
, retrie
388-
, tactic
389-
, hlint
390-
, stan
391-
, moduleName
392-
, pragmas
393-
, splice
394-
, alternateNumberFormat
395-
, qualifyImportedNames
396-
, codeRange
397-
, gadt
398-
, explicitFixity
399-
, floskell
400-
, fourmolu
401-
, ormolu
402-
, stylishHaskell
403-
, brittany
404-
, refactor
405-
exposed-modules: HlsPlugins
406-
hs-source-dirs: src
337+
, warnings
338+
, pedantic
339+
-- plugins
340+
, callHierarchy
341+
, changeTypeSignature
342+
, class
343+
, haddockComments
344+
, eval
345+
, importLens
346+
, refineImports
347+
, rename
348+
, retrie
349+
, tactic
350+
, hlint
351+
, stan
352+
, moduleName
353+
, pragmas
354+
, splice
355+
, alternateNumberFormat
356+
, qualifyImportedNames
357+
, codeRange
358+
, gadt
359+
, explicitFixity
360+
, floskell
361+
, fourmolu
362+
, ormolu
363+
, stylishHaskell
364+
, brittany
365+
, refactor
366+
367+
exposed-modules:
368+
Ide.Arguments
369+
Ide.Main
370+
Ide.Version
371+
HlsPlugins
372+
373+
other-modules: Paths_haskell_language_server
374+
autogen-modules: Paths_haskell_language_server
375+
hs-source-dirs: src
376+
build-depends:
377+
, async
378+
, base16-bytestring
379+
, bytestring
380+
, containers
381+
, cryptohash-sha1
382+
, data-default
383+
, ghc
384+
, ghcide ^>=1.8
385+
, githash >=0.1.6.1
386+
, lsp
387+
, hie-bios
388+
, hiedb
389+
, hls-plugin-api ^>=1.5
390+
, optparse-applicative
391+
, optparse-simple
392+
, process
393+
, hls-graph
394+
, safe-exceptions
395+
, sqlite-simple
396+
, unordered-containers
397+
, aeson-pretty
407398

408-
build-depends: ghcide, hls-plugin-api
409399
default-language: Haskell2010
410400
default-extensions: DataKinds, TypeOperators
411401

@@ -452,7 +442,6 @@ executable haskell-language-server
452442
, ghcide
453443
, hashable
454444
, haskell-language-server
455-
, haskell-language-server:plugins
456445
, lsp
457446
, hie-bios
458447
, hiedb
@@ -630,7 +619,7 @@ benchmark benchmark
630619
extra,
631620
filepath,
632621
ghcide-bench,
633-
haskell-language-server:plugins,
622+
haskell-language-server,
634623
hls-plugin-api,
635624
lens,
636625
lens-aeson,

0 commit comments

Comments
 (0)