]> git.eshelyaron.com Git - emacs.git/commitdiff
Unbreak haskell's hie-wrapper built-in incantation
authorR Primus <rprimus@users.noreply.github.com>
Sun, 30 Aug 2020 12:54:14 +0000 (13:54 +0100)
committerGitHub <noreply@github.com>
Sun, 30 Aug 2020 12:54:14 +0000 (13:54 +0100)
* eglot.el (eglot-server-programs): Add required argument for hie-wrapper

Copyright-paperwork-exempt: yes
GitHub-reference: fix https://github.com/joaotavora/eglot/issues/528

lisp/progmodes/eglot.el

index 64543d7bb873d3a235a6277db693ceb4dc507b2c..c752322b58ab0fcb3bf1caebde93f5518cdfa43c 100644 (file)
                                   typescript-mode)
                                  . ("javascript-typescript-stdio"))
                                 (sh-mode . ("bash-language-server" "start"))
-                               (php-mode . ("php" "vendor/felixfbecker/\
+                                                       (php-mode . ("php" "vendor/felixfbecker/\
 language-server/bin/php-language-server.php"))
                                 ((c++-mode c-mode) . ("ccls"))
                                 ((caml-mode tuareg-mode reason-mode)
@@ -108,7 +108,7 @@ language-server/bin/php-language-server.php"))
                                 (ruby-mode
                                  . ("solargraph" "socket" "--port"
                                     :autoport))
-                                (haskell-mode . ("hie-wrapper"))
+                                (haskell-mode . ("hie-wrapper" "--lsp"))
                                 (elm-mode . ("elm-language-server"))
                                 (kotlin-mode . ("kotlin-language-server"))
                                 (go-mode . ("gopls"))