From 3a9221c7b82ff7ce5d76ff1c791743255440d740 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20H=C3=B6tzel?= Date: Thu, 18 Jul 2019 21:36:56 +0200 Subject: [PATCH] Fix invalid guess for php language server () * 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 25c8fbe7075..a80be22e6ba 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -84,14 +84,14 @@ 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" -- 2.39.2