Change intelephense to phpactor LSP for PHP.

This commit is contained in:
kj 2023-03-25 13:01:11 -04:00
parent 75cf33384c
commit 1475a86c75

View File

@ -16,7 +16,8 @@
(rust-mode . eglot-ensure)
(sh-mode . eglot-ensure))
:config
(add-to-list 'eglot-server-programs '(php-mode . ("intelephense" "--stdio")))
;; (add-to-list 'eglot-server-programs '(php-mode . ("intelephense" "--stdio")))
(add-to-list 'eglot-server-programs '(php-mode . ("phpactor" "language-server" "-vvv")))
;; (add-to-list 'eglot-ignored-server-capabilites :hoverProvider)
;; (add-to-list 'eglot-server-programs '(css-mode . ("vscode-css-language-server" "--stdio")))
;; (add-to-list 'eglot-server-programs '(html-mode . ("vscode-html-language-server" "--stdio")))