From: USAMI Kenta Date: Fri, 11 Nov 2022 13:57:06 +0000 (+0900) Subject: Add Eglot alternatives for PHP language servers X-Git-Tag: emacs-29.0.90~1616^2~110 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=954a5e79dc8670e93ee72b3f835ec82e847dc23d;p=emacs.git Add Eglot alternatives for PHP language servers * lisp/progmodes/eglot.el (eglot-server-programs): Add alternatives for PHP. --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 3d090a652aa..ac9269e0e5c 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -192,8 +192,10 @@ chosen (interactively or automatically)." . ("typescript-language-server" "--stdio")) (sh-mode . ("bash-language-server" "start")) ((php-mode phps-mode) - . ("php" "vendor/felixfbecker/\ -language-server/bin/php-language-server.php")) + . ,(eglot-alternatives + '(("phpactor" "language-server") + ("intelephense" "--stdio") + ("php" "vendor/felixfbecker/language-server/bin/php-language-server.php")))) ((c++-mode c-mode) . ,(eglot-alternatives '("clangd" "ccls"))) (((caml-mode :language-id "ocaml")