Skip to content

Commit 09d3f85

Browse files
committed
Split out the retrie plugin
1 parent ed7075a commit 09d3f85

File tree

6 files changed

+38
-3
lines changed

6 files changed

+38
-3
lines changed

cabal.project

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ packages:
66
./plugins/tactics
77
./plugins/hls-hlint-plugin
88
./plugins/hls-explicit-imports-plugin
9+
./plugins/hls-retrie-plugin
910

1011
source-repository-package
1112
type: git

haskell-language-server.cabal

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ executable haskell-language-server
9191
Ide.Plugin.ModuleName
9292
Ide.Plugin.Ormolu
9393
Ide.Plugin.Pragmas
94-
Ide.Plugin.Retrie
9594
Ide.Plugin.StylishHaskell
9695

9796
ghc-options:
@@ -123,10 +122,10 @@ executable haskell-language-server
123122
, hls-plugin-api
124123
, hls-tactics-plugin
125124
, hls-explicit-imports-plugin
125+
, hls-retrie-plugin
126126
, lens
127127
, ormolu ^>=0.1.2
128128
, regex-tdfa
129-
, retrie >=0.1.1.0
130129
, hslogger
131130
, optparse-applicative
132131
, haskell-lsp ^>=0.22
@@ -135,7 +134,6 @@ executable haskell-language-server
135134
, mtl
136135
, ormolu ^>=0.1.2
137136
, regex-tdfa
138-
, retrie >=0.1.1.0
139137
, safe-exceptions
140138
, shake >=0.17.5
141139
, stylish-haskell ^>=0.12

nix/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ let
2121
hls-tactics-plugin = ../plugins/tactics;
2222
hls-hlint-plugin = ../plugins/hls-hlint-plugin;
2323
hls-explicit-imports-plugin = ../plugins/hls-explicit-imports-plugin;
24+
hls-retrie-plugin = ../plugins/hls-retrie-plugin;
2425
});
2526
in
2627
{
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
cabal-version: 2.2
2+
name: hls-retrie-plugin
3+
version: 0.1.0.0
4+
synopsis: Retrie integration plugin for Haskell Language Server
5+
license: Apache-2.0
6+
license-file: LICENSE
7+
author: Pepe Iborra
8+
maintainer: pepeiborra@gmail.com
9+
category: Development
10+
build-type: Simple
11+
12+
library
13+
exposed-modules: Ide.Plugin.Retrie
14+
hs-source-dirs: src
15+
build-depends: aeson
16+
, base
17+
, containers
18+
, deepseq
19+
, directory
20+
, extra
21+
, haskell-lsp
22+
, haskell-lsp-types
23+
, hls-plugin-api
24+
, ghc
25+
, ghcide
26+
, hashable
27+
, retrie >=0.1.1.0
28+
, safe-exceptions
29+
, shake
30+
, text
31+
, transformers
32+
, unordered-containers
33+
34+
default-language: Haskell2010

shell.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ let defaultCompiler = "ghc" + lib.replaceStrings ["."] [""] haskellPackages.ghc.
3131
p.hls-tactics-plugin
3232
p.hls-hlint-plugin
3333
p.hls-explicit-imports-plugin
34+
p.hls-retrie-plugin
3435
];
3536

3637
isSupported = compiler == "default" || compiler == defaultCompiler;

0 commit comments

Comments
 (0)