From e8fbe1dbd24d818569a72c671004501208f74a45 Mon Sep 17 00:00:00 2001 From: USAMI Kenta Date: Fri, 11 Nov 2022 22:57:06 +0900 Subject: [PATCH] Add eglot-alternatives for PHP --- eglot.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eglot.el b/eglot.el index 901bf30d..cdf54660 100644 --- a/eglot.el +++ b/eglot.el @@ -190,8 +190,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")