Commit Graph

474 Commits

Author SHA1 Message Date
Luke Lau
7cdbf8c334
Merge pull request #289 from bubba/win-doc-url-fix
Bring in doc URL fix for Windows
2020-08-06 16:33:25 +01:00
Luke Lau
531e88fa30 Add missing CPP conditional
Did it get lost in a dodgy merge? No idea how this happened
Fixes #291
2020-08-05 23:45:22 +01:00
Luke Lau
839461a63a Bring in doc URL fix for Windows
Cherry-pick of the ghcide commits in https://github.com/digital-asset/ghcide/pull/721/files

Co-authored-by: Nick Dunets <DunetsNM@gmail.com>
2020-08-05 14:53:16 +01:00
fendor
4cdafec91b
Merge pull request #250 from fendor/cabal-flag-agpl
Make the AGPL flag manual in cabal
2020-08-05 13:46:51 +02:00
Luke Lau
bf94639ef9
Merge pull request #287 from bubba/circleci-8.8.4
Add CI job for 8.8.4
2020-08-04 15:30:07 +01:00
Luke Lau
7b6efe8179
Merge pull request #285 from bubba/fix-dud-rename-provider
Fix rename capability being declared
2020-08-04 14:07:28 +01:00
Luke Lau
c8071d136d Add CI job for 8.8.4 2020-08-04 13:59:27 +01:00
Luke Lau
9c3037b545 Fix rename capability being declared
When there are no plugins provided that provider a pluginRenameProvider
This also applies to the other capabilities
2020-08-04 13:29:42 +01:00
Alan Zimmerman
b15508a46c
Merge pull request #275 from alanz/hls-3
Use wz1000/hls-3 ghcide branch
2020-08-04 12:58:35 +01:00
Javier Neira
c9083ba8d5
Merge pull request #284 from jneira/win-exe-ext
Add exe extension to win executables
2020-08-04 02:44:01 +02:00
jneira
712d5f0346 Add exe extension to win executables 2020-08-04 01:14:49 +02:00
Alan Zimmerman
4564196b4f Use wz1000/hls-3 ghcide branch
At b7de7ae89469693b76d92ca433119d91d3a9aac0
2020-08-03 20:56:07 +01:00
Alan Zimmerman
ba463538fb
Merge pull request #266 from pepeiborra/retrie
Initial Retrie plugin
2020-08-03 20:09:57 +01:00
Fendor
1f26704e76 Disable Brittany for GHC Versions >= 8.10.1 2020-08-03 09:50:54 +02:00
Fendor
610b82e0a1 Make the AGPL flag manual in cabal 2020-08-03 09:50:54 +02:00
Pepe Iborra
366e8b65d5 Fix imgur link in README 2020-08-02 08:13:19 +01:00
Luke Lau
6c7b43a3eb
Merge pull request #267 from sureyeaah/coc
add hie.yaml to coc configuration
2020-08-01 23:14:49 +01:00
Pepe Iborra
c00cca01c2 Compat with 8.6.5 (and tighten spans for rule suggestions) 2020-08-01 18:30:52 +01:00
shaurya gupta
5352505902 add hie.yaml to coc configuration 2020-08-01 22:13:15 +05:30
Pepe Iborra
4baf294924 Rewrite the 8.6.4 stack descriptor on top of the 8.6.5 one
GHC minor versions do not change any APIs, do they?
2020-08-01 17:03:46 +01:00
Pepe Iborra
231bf0c98a Compat with 8.6 2020-08-01 16:59:18 +01:00
Pepe Iborra
a25b1e3183 drop unused debug code and add TODO for import replacements 2020-08-01 16:32:50 +01:00
Pepe Iborra
7eb593fa58 Add ghc-api-version.h from ghcide 2020-08-01 16:28:27 +01:00
Pepe Iborra
b8627c2254 Add retrie to all? the stack.yaml descriptors 2020-08-01 16:28:27 +01:00
Pepe Iborra
6ff62c4a81 Compat with 8.10 2020-08-01 15:46:56 +01:00
Pepe Iborra
5e0e798c2d Fix comment out of place 2020-08-01 15:37:14 +01:00
Pepe Iborra
0722bfd90d Add README entry 2020-08-01 13:58:05 +01:00
Pepe Iborra
f8f58c9025 Initial Retrie plugin
Supports RULES, functions and type synonyms

Future work:

- Handling names properly (when retrie/#10 is fixed)
- Suggestions for pattern synonyms (when retrie/#15 is released)
- Refactorings: rename, extract, move, etc..
- Automatically add imports when unfolding
- Proper support for workspace folders
2020-08-01 13:50:25 +01:00
Pepe Iborra
e70d7e8255 add retrie to shell.nix 2020-08-01 13:35:10 +01:00
Pepe Iborra
047d83284e catch exceptions in plugin Commands 2020-08-01 13:35:10 +01:00
Luke Lau
a308151650 Fix compression extension on GitHub build artifacts 2020-07-31 23:29:45 +01:00
Luke Lau
75d4c62245
Merge pull request #262 from Ailrun/fix-ci
Remove a redundant caching step
2020-07-31 23:21:17 +01:00
Luke Lau
0adf4bd2e3
Merge pull request #260 from bubba/remove-hspec-expectations
Remove hspec-expectations
2020-07-31 23:20:56 +01:00
Junyoung Clare Jang
26f1e7feae
Remove a redundant caching step 2020-07-31 17:20:36 -04:00
Luke Lau
bd5e2565c6
Merge pull request #261 from haskell/fix-ci
Slow down Tasty by limiting it to -j1
2020-07-31 18:18:24 +01:00
Luke Lau
38672e030e Slow down Tasty by limiting it to -j1
Fixes flakey CI builds. Turns out it was trying to run every single test
in parallel at once, which is why when #247 added two extra tests it was
just enough to push it over the limit and cause things to fail
2020-07-31 15:34:54 +01:00
Luke Lau
3dbfa68bae
Merge pull request #259 from haskell/remove-redundant-circleci-steps
Remove redundant CircleCI steps
2020-07-31 14:52:28 +01:00
Luke Lau
6b51c7c54b Remove hspec-expectations
Use @? and @?= instead, since they give much easier to read error
messages. The `shouldX` functions all just end up dumping the Show
instance of a HSpecFailure or what have you which is really hard to
read. It also doesn't look like hspec-expectations is that actively
maintained anymore
2020-07-31 14:48:56 +01:00
Luke Lau
5163c41e71
Merge pull request #257 from sureyeaah/ormolu-fix
Ormolu fix
2020-07-31 14:28:59 +01:00
fendor
530ccb0fc9
Merge pull request #246 from pepeiborra/ormolu
Ormolu flags
2020-07-31 14:44:44 +02:00
Luke Lau
5dbf1531dd Remove redundant CircleCI steps
Hoogle nor happy nor cabal-helper shouldn't be needed anymore
2020-07-31 12:05:50 +01:00
shaurya gupta
7a8f51d7aa Remove *.ormolu.unchanged formatting tests 2020-07-30 20:25:25 +05:30
shaurya gupta
f51d4e8317 Ormolu RegionIndices should be 1-based 2020-07-30 19:36:15 +05:30
shaurya gupta
679e0ecc03 Don't normalize in ormolu 2020-07-30 19:36:15 +05:30
shaurya gupta
75f0d6bef2 Fix another bug in diffOperationToTextEdit
We were taking max of l and sl but the position of an insertion in
the newer document is irrelevant since the edits will be applied
from bottom to top.
2020-07-30 19:36:15 +05:30
shaurya gupta
d4371fd443 Fix bug in diffOperationToTextEdit
The original lineno extracted from the Addition DiffOperation needs
to be increased by 1.
2020-07-30 19:35:47 +05:30
shaurya gupta
96d42f3723 Add more tests for ormolu 2020-07-30 19:35:47 +05:30
shaurya gupta
3a6874d726 Add more tests for checking formatting 2020-07-30 17:09:07 +05:30
fendor
4fe0f7dfc1
Merge pull request #255 from georgefst/patch-1
Fix haddock parse error in install.hs
2020-07-29 15:25:43 +02:00
George Thomas
605d19a7b9
Fix haddock parse error in install.hs
Seeing as, since #209, the README suggests globally enabling `-haddock`, it's rather unfortunate for that not to work with HLS' own installation script...
2020-07-29 13:59:30 +01:00