]> git.eshelyaron.com Git - emacs.git/commit
Add php's php-language-server to built-in guessed servers
authorJoão Távora <joaotavora@gmail.com>
Tue, 15 May 2018 12:24:08 +0000 (13:24 +0100)
committerJoão Távora <joaotavora@gmail.com>
Tue, 15 May 2018 12:24:08 +0000 (13:24 +0100)
commit40e256a1bf6d237eb5637fd726077332519338a6
tree042964fe03e24e0c31d5680c436a52b94a40094b
parent4ef2d1875cc2d1f8b7906ed0912176a4888436c4
Add php's php-language-server to built-in guessed servers

Closes https://github.com/joaotavora/eglot/issues/1. The problem in that issue is that php-language-server has a
bug when it's not passed it the deprecated ":rootPath" field. The bug
doesn't happen if the ":processId" field is also absent. Eglot was
triggering the bug, because it didn't pass ":rootPath", but there's
nothing wrong in doing so.

* README.md: Add php-language-server to the built-in list.

* eglot.el (eglot-server-programs): Add php-language-server.
(eglot--connect): Also pass (deprecated) rootPath.
lisp/progmodes/eglot.el