Commit Graph

46 Commits

Author SHA1 Message Date
Luke Lau
3df2bbc704 Update lsp-test to 0.11.0.4
Fixes bug with document versions in testing
2020-08-07 12:52:39 +01:00
Luke Lau
ceb92b9434 Use vendored Brittany which builds on ghc-8.10.1 2020-08-06 19:04:15 +01:00
George Thomas
ca111c420b Vendor brittany via Github 2020-08-06 17:08:25 +01:00
George Thomas
e3b8889775 Bump dependencies, remove allow-newer 2020-08-06 12:42:35 +01:00
George Thomas
894af50c4d Update hackage index state
In order to bring in Fourmolu revision which widens lower bound on `directory`, for compatibility with older GHCs.
2020-08-06 12:42:35 +01:00
George Thomas
d5e256a746 Add fourmolu plugin 2020-08-06 12:42:35 +01:00
Luke Lau
9d3d0e6f13 Accept the legacy "languageServerHaskell" config name
This also requires a bump to lsp-test to fix a test, and drops the
trick that the wrapper tests used to find the wrapper executable since
it was just confusing
2020-07-27 15:11:10 +01:00
jneira
897e1ea93d Remove unused program-options 2020-07-23 11:09:52 +02:00
jneira
e82848006f Use -haddock for cabal and stack 2020-07-23 11:09:52 +02:00
jneira
3bb2d31f01 Update index to get last ghc-exactprint 2020-07-17 05:24:02 +02:00
Fendor
9bfaca83aa Upgrade to hie-bios 0.6.1 2020-07-13 16:27:03 +02:00
George Thomas
f5f34ec83f Use cabal-plan from Hackage 2020-07-01 22:49:27 +01:00
Alan Zimmerman
a452e13a13 Bump ghcide to wz100 updated hls branch
https://github.com/wz1000/ghcide/tree/hls-2-pepe-rebased
at 027f352d396545a9bf284873f6e47788f943e296
2020-06-18 20:26:00 +01:00
Alan Zimmerman
1852f2a95c Restore the patched cabal-plan for GHC 8.10.1 2020-06-14 13:00:19 +01:00
Alan Zimmerman
2cdbe2e16c Update stack files 2020-06-13 18:16:03 +01:00
jneira
525f047a7c Update ghc-lib-parser version 2020-05-24 16:28:07 +02:00
jneira
03f3b93734 Remove floskell git dependency 2020-05-18 22:33:46 +02:00
jneira
4bad5b344a Use floskell released version 0.10.3 2020-05-17 23:46:16 +02:00
jneira
49307ea3ed Remove restriction over opentelemetry 2020-05-14 07:29:03 +02:00
jneira
fac8555774 Unify cabal.project config 2020-05-14 07:24:23 +02:00
Alan Zimmerman
6a45c35809 Use new mpickering/ghcide/hls
At e7adaca189a86c6ac7b434fec29055c80d0468ac
2020-05-13 23:09:01 +01:00
Alan Zimmerman
beaf9157c3 Use latest mpickering hls, with hover tweaks added 2020-05-12 21:59:21 +01:00
jneira
f37babdd5e Create specific project file for ghc-8.10.
It let us isolate temporary config tweaks in its own config file
like `allow-newer` and turning off docs
2020-05-11 14:00:50 +02:00
Alan Zimmerman
08dd104a04
Merge pull request #100 from fendor/hls-update-latest-hie-bios
Hls update latest hie bios
2020-05-08 11:41:23 +01:00
fendor
bce081aed4 Update to nightly hie-bios 2020-05-08 11:21:14 +02:00
fendor
1e972c2c50 Update extra-deps to use latest version of shake 2020-05-07 22:45:27 +02:00
Luke Lau
d388979ef2 Get building with ghc-8.10 2020-05-06 13:59:30 +01:00
Alan Zimmerman
6a6ade1729 Update for haskell-lsp 0.22 2020-05-05 18:53:57 +01:00
Alan Zimmerman
05769888d6 Bump resolvers
cabal at 2020-05-03T12:53:19Z
stack 8.8.3 at lts-15.10
stack 8.8.2 at lts-15.3
stack 8.6.5 at lts-14.22
stack 8.6.4 at lts-13.19

hie-bios at fendor/hie-bios 89d28817716a1c8df7e191f3a43c4504bc6379eb
cabal-helper at DanielG/cabal-helper a18bbb2af92e9b4337e7f930cb80754f2408bcfd
shake at mpickering/shake 4d56fe9f09bd3bd63ead541c571c756995da490a
2020-05-03 14:47:11 +01:00
Alan Zimmerman
3a0a85ef31 Fix up for rebase on mpickering branch 2020-04-26 12:09:37 +01:00
fendor
460b4554f5 Update to ormolu 0.5.0 and simplify plugin
Move makeDiffTextEdit from Haskell-IDE-Engine to PluginUtils.
2020-04-25 17:40:48 +02:00
fendor
c4888d4e51 Fix source packages for hie-bios and update API 2020-04-24 22:25:40 +02:00
jneira
f0e2ec306b Use patched version of hie-bios 2020-04-15 22:55:04 +02:00
Alan Zimmerman
add70e462c Update to use mpickering ghcide from wip/multi-rebase
https://github.com/digital-asset/ghcide/pull/522
2020-04-06 23:08:25 +01:00
Alan Zimmerman
9ceea5bd84 Use ghcide wip/multi-rebased rebased on current master 2020-03-24 23:10:21 +00:00
Alan Zimmerman
c3eec9426c Adapt to ghcide changes 2020-03-23 19:31:23 +00:00
Alan Zimmerman
4038c65759 Update to same cabal-helper as hie 2020-03-23 18:10:27 +00:00
Alan Zimmerman
5bae0dd9a2 Rebase ghcide changes, and match in hls branch 2020-03-15 11:39:45 +00:00
jneira
32daf7fc3d Use cabal-helper head 2020-03-08 23:12:22 +01:00
Alan Zimmerman
ab1ef255e5 Choose formatter based on config.
Requires https://github.com/digital-asset/ghcide/pull/416
2020-02-09 21:11:51 +00:00
Alan Zimmerman
f18d916bee Formatting via Ormolu plugin
Supports whole module and range formatting.

Does not yet extract options from the hie-bios cradle.

Closes #30
2020-02-04 20:48:50 +00:00
jneira
2de3de8475 Set an existing index-state 2020-02-03 14:35:37 +01:00
Alan Zimmerman
d85938fa15 Rename to haskell-language-server
Voting at time of migration was 42 for this name, next closest was 6.

Closes #29
2020-02-01 09:50:03 +00:00
Alan Zimmerman
ad1743307a Harmonise CLI flags between ghcide/haskell-ide(-wrapper)
And add --example to enable the Example plugin in haskell-ide

Closes #24
2020-01-30 23:21:44 +00:00
Pepe Iborra
f012fd0e81 Embed ghcide as a git submodule 2020-01-26 09:05:39 +00:00
Alan Zimmerman
5e96992e83 Add proof of concept hard-coded hover handler
A kind of "hello world" LSP plugin.

Tested with emacs lsp-mode by setting "Lsp Haskell Process Path Hie"
to `ide`, and clearing out the "Lsp Haskell Process Args Hie".
2020-01-25 19:45:32 +00:00