Skip to content

Commit 6981f8d

Browse files
authored
Merge pull request #190 from akshaymankar/remove-workspace-config-hack
Don't push configuration to HLS manually
2 parents d229fdc + b6c58bf commit 6981f8d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lsp-haskell.el

-6
Original file line numberDiff line numberDiff line change
@@ -724,12 +724,6 @@ arguments are non-nullable booleans."
724724
:major-modes '(haskell-mode haskell-literate-mode haskell-tng-mode haskell-cabal-mode haskell-ts-mode)
725725
;; This is arbitrary.
726726
:server-id 'lsp-haskell
727-
;; HLS does not currently send 'workspace/configuration' on startup (https://github.com/haskell/haskell-language-server/issues/2762),
728-
;; so we need to push the configuration to it manually on startup. We should be able to
729-
;; get rid of this once the issue is fixed in HLS.
730-
:initialized-fn (lambda (workspace)
731-
(with-lsp-workspace workspace
732-
(lsp--set-configuration (lsp-configuration-section "haskell"))))
733727
:synchronize-sections '("haskell")
734728
;; This is somewhat irrelevant, but it is listed in lsp-language-id-configuration, so
735729
;; we should set something consistent here.

0 commit comments

Comments
 (0)