File tree Expand file tree Collapse file tree 6 files changed +19
-19
lines changed
plugins/hls-hectare-plugin Expand file tree Collapse file tree 6 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ packages:
33
33
./plugins/hls-code-range-plugin
34
34
./plugins/hls-change-type-signature-plugin
35
35
./plugins/hls-stan-plugin
36
- ./plugins/hls-ecta -plugin
36
+ ./plugins/hls-hectare -plugin
37
37
./plugins/hls-gadt-plugin
38
38
./plugins/hls-explicit-fixity-plugin
39
39
./plugins/hls-explicit-record-fields-plugin
Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ flag haddockComments
84
84
default : True
85
85
manual : True
86
86
87
- flag ecta
88
- description : Enable ecta plugin
87
+ flag hectare
88
+ description : Enable hectare plugin
89
89
default : True
90
90
manual : True
91
91
@@ -246,10 +246,10 @@ common haddockComments
246
246
build-depends : hls-haddock-comments-plugin ^>= 1.1
247
247
cpp-options : -Dhls_haddockComments
248
248
249
- common ecta
250
- if flag(ecta ) && (impl(ghc < 9 ) || flag(ignore-plugins-ghc-bounds))
251
- build-depends : hls-ecta -plugin
252
- cpp-options : -Dhls_ecta
249
+ common hectare
250
+ if flag(hectare ) && (impl(ghc < 9 ) || flag(ignore-plugins-ghc-bounds))
251
+ build-depends : hls-hectare -plugin
252
+ cpp-options : -Dhls_hectare
253
253
254
254
common eval
255
255
if flag(eval) && (impl(ghc < 9.4.1 ) || flag(ignore-plugins-ghc-bounds))
@@ -385,7 +385,7 @@ library
385
385
, changeTypeSignature
386
386
, class
387
387
, haddockComments
388
- , ecta
388
+ , hectare
389
389
, eval
390
390
, importLens
391
391
, refineImports
Original file line number Diff line number Diff line change 1
- module Ide.Plugin.Ecta (descriptor ) where
1
+ module Ide.Plugin.Hectare (descriptor ) where
2
2
3
3
import Development.IDE.GHC.Compat
4
4
import Development.IDE.GHC.Compat.Util
5
- import qualified ECTA.Plugin as Ecta
5
+ import qualified ECTA.Plugin as GHC
6
6
import Ide.Types
7
7
8
8
descriptor :: PluginId -> PluginDescriptor s
@@ -13,9 +13,9 @@ descriptor pluginId = (defaultPluginDescriptor pluginId)
13
13
staticPlugin :: DynFlagsModifications
14
14
staticPlugin = mempty
15
15
{ dynFlagsModifyGlobal = \ df -> df
16
- { staticPlugins = staticPlugins df <> [ectaPlugin ]
16
+ { staticPlugins = staticPlugins df <> [hectarePlugin ]
17
17
}
18
18
}
19
19
20
- ectaPlugin :: StaticPlugin
21
- ectaPlugin = StaticPlugin $ PluginWithArgs Ecta . plugin []
20
+ hectarePlugin :: StaticPlugin
21
+ hectarePlugin = StaticPlugin $ PluginWithArgs GHC . plugin []
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
cabal-version : 2.2
2
- name : hls-ecta -plugin
2
+ name : hls-hectare -plugin
3
3
version : 1.0
4
4
synopsis : Code synthesis for typed holes via ECTA
5
5
description :
@@ -18,7 +18,7 @@ library
18
18
buildable : True
19
19
else
20
20
buildable : False
21
- exposed-modules : Ide.Plugin.Ecta
21
+ exposed-modules : Ide.Plugin.Hectare
22
22
build-depends :
23
23
base >= 4.12 && < 5
24
24
, ecta-plugin >= 0.1.1.2
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ import qualified Ide.Plugin.Class as Class
32
32
import qualified Ide.Plugin.HaddockComments as HaddockComments
33
33
#endif
34
34
35
- #if hls_ecta
36
- import qualified Ide.Plugin.Ecta as Ecta
35
+ #if hls_hectare
36
+ import qualified Ide.Plugin.Hectare as Hectare
37
37
#endif
38
38
39
39
#if hls_eval
@@ -194,8 +194,8 @@ idePlugins recorder = pluginDescToIdePlugins allPlugins
194
194
#if hls_haddockComments
195
195
let pId = " haddockComments" in HaddockComments. descriptor (pluginRecorder pId) pId:
196
196
#endif
197
- #if hls_ecta
198
- Ecta . descriptor " ecta " :
197
+ #if hls_hectare
198
+ Hectare . descriptor " hectare " :
199
199
#endif
200
200
#if hls_eval
201
201
let pId = " eval" in Eval. descriptor (pluginRecorder pId) pId:
You can’t perform that action at this time.
0 commit comments