Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Use haskell-lsp TypeDefinitionProvider options #1172

Merged
merged 2 commits into from
Apr 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion haskell-ide-engine.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ library
, gitrev >= 1.1
, haddock-api
, haddock-library
, haskell-lsp >= 0.8
, haskell-lsp >= 0.8.2
, haskell-lsp-types >= 0.8.2
, haskell-src-exts
, hie-plugin-api
, hlint >= 2.0.11
Expand Down
1 change: 0 additions & 1 deletion src/Haskell/Ide/Engine/Transport/LspStdio.hs
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,6 @@ hieOptions :: [T.Text] -> Core.Options
hieOptions commandIds =
def { Core.textDocumentSync = Just syncOptions
, Core.completionProvider = Just (J.CompletionOptions (Just True) (Just ["."]))
, Core.typeDefinitionProvider = Just (J.GotoOptionsStatic True)
-- As of 2018-05-24, vscode needs the commands to be registered
-- otherwise they will not be available as codeActions (will be
-- silently ignored, despite UI showing to the contrary).
Expand Down
4 changes: 2 additions & 2 deletions stack-8.2.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ extra-deps:
- ghc-exactprint-0.5.8.2
- haddock-api-2.18.1
- haddock-library-1.4.4
- haskell-lsp-0.8.1.0
- haskell-lsp-types-0.8.0.1
- haskell-lsp-0.8.2.0
- haskell-lsp-types-0.8.2.0
- hlint-2.0.11
- hsimport-0.8.6
- lsp-test-0.5.1.0
Expand Down
4 changes: 2 additions & 2 deletions stack-8.2.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ extra-deps:
- ghc-exactprint-0.5.8.2
- haddock-api-2.18.1
- haddock-library-1.4.4
- haskell-lsp-0.8.1.0
- haskell-lsp-types-0.8.0.1
- haskell-lsp-0.8.2.0
- haskell-lsp-types-0.8.2.0
- haskell-src-exts-1.21.0
- hlint-2.1.15
- hoogle-5.0.17.5
Expand Down
4 changes: 2 additions & 2 deletions stack-8.4.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ extra-deps:
- ghc-exactprint-0.5.8.2
- haddock-api-2.20.0
- haddock-library-1.6.0
- haskell-lsp-0.8.1.0
- haskell-lsp-types-0.8.0.1
- haskell-lsp-0.8.2.0
- haskell-lsp-types-0.8.2.0
- haskell-src-exts-1.21.0
- hlint-2.1.15
- hoogle-5.0.17.5
Expand Down
4 changes: 2 additions & 2 deletions stack-8.4.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ extra-deps:
- ghc-exactprint-0.5.8.2
- haddock-api-2.20.0
- haddock-library-1.6.0
- haskell-lsp-0.8.1.0
- haskell-lsp-types-0.8.0.1
- haskell-lsp-0.8.2.0
- haskell-lsp-types-0.8.2.0
- haskell-src-exts-1.21.0
- hlint-2.1.15
- hoogle-5.0.17.5
Expand Down
4 changes: 2 additions & 2 deletions stack-8.4.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ extra-deps:
- ghc-exactprint-0.5.8.2
- haddock-api-2.20.0
- haddock-library-1.6.0
- haskell-lsp-0.8.1.0
- haskell-lsp-types-0.8.0.1
- haskell-lsp-0.8.2.0
- haskell-lsp-types-0.8.2.0
- haskell-src-exts-1.21.0
- hlint-2.1.15
- hoogle-5.0.17.5
Expand Down
4 changes: 2 additions & 2 deletions stack-8.6.1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ extra-deps:
- czipwith-1.0.1.1
- data-tree-print-0.1.0.2
- haddock-api-2.21.0
- haskell-lsp-0.8.1.0
- haskell-lsp-types-0.8.0.1
- haskell-lsp-0.8.2.0
- haskell-lsp-types-0.8.2.0
- haskell-src-exts-1.21.0
- hlint-2.1.15
- hoogle-5.0.17.5
Expand Down
3 changes: 2 additions & 1 deletion stack-8.6.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ extra-deps:
- constrained-dynamic-0.1.0.0
- haddock-api-2.21.0
- haskell-src-exts-1.21.0
- haskell-lsp-0.8.1.0
- haskell-lsp-0.8.2.0
- haskell-lsp-types-0.8.2.0
- hlint-2.1.15
- hoogle-5.0.17.5
- hsimport-0.8.8
Expand Down
3 changes: 2 additions & 1 deletion stack-8.6.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ extra-deps:
- constrained-dynamic-0.1.0.0
- haddock-api-2.21.0
- haskell-src-exts-1.21.0
- haskell-lsp-0.8.1.0
- haskell-lsp-0.8.2.0
- haskell-lsp-types-0.8.2.0
- hlint-2.1.15
- hoogle-5.0.17.5
- hsimport-0.8.8
Expand Down
2 changes: 2 additions & 0 deletions stack-8.6.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ extra-deps:
- constrained-dynamic-0.1.0.0
- haddock-api-2.22.0
- haskell-src-exts-1.21.0
- haskell-lsp-0.8.2.0
- haskell-lsp-types-0.8.2.0
- hlint-2.1.15
- hsimport-0.8.8
- hoogle-5.0.17.6
Expand Down
2 changes: 2 additions & 0 deletions stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ extra-deps:
- deque-0.2.7
- ghc-exactprint-0.5.8.2
- haddock-api-2.22.0
- haskell-lsp-0.8.2.0
- haskell-lsp-types-0.8.2.0
- hlint-2.1.15
- hsimport-0.8.8
- lsp-test-0.5.1.0
Expand Down