]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix invalid guess for php language server ()
authorJürgen Hötzel <juergen@hoetzel.info>
Thu, 18 Jul 2019 19:36:56 +0000 (21:36 +0200)
committerJoão Távora <joaotavora@gmail.com>
Thu, 18 Jul 2019 19:36:56 +0000 (20:36 +0100)
* eglot.el (eglot-server-programs): Change the position of the php
language server, otherwise it will always be hidden by the c-mode
server (php-mode is derived from c-mode).

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

lisp/progmodes/eglot.el

index 25c8fbe70751c577bbbfcf9b0987b03fe49011ba..a80be22e6ba8001ba5da8d123056f088870190f3 100644 (file)
                                   typescript-mode)
                                  . ("javascript-typescript-stdio"))
                                 (sh-mode . ("bash-language-server" "start"))
+                               (php-mode . ("php" "vendor/felixfbecker/\
+language-server/bin/php-language-server.php"))
                                 ((c++-mode c-mode) . ("ccls"))
                                 ((caml-mode tuareg-mode reason-mode)
                                  . ("ocaml-language-server" "--stdio"))
                                 (ruby-mode
                                  . ("solargraph" "socket" "--port"
                                     :autoport))
-                                (php-mode . ("php" "vendor/felixfbecker/\
-language-server/bin/php-language-server.php"))
                                 (haskell-mode . ("hie-wrapper"))
                                 (kotlin-mode . ("kotlin-language-server"))
                                 (go-mode . ("go-langserver" "-mode=stdio"