Change to intelephense LSP server for PHP.

Just now phpactor is bad and only old versions works fine, but that
versions has it the old and already resolved bugs on the newest
version.

Previously, intelephense was bad integraion with newer php versions,
but now it works fine again. So maybe I will to buy a licence for this
lsp server.
This commit is contained in:
KJ 2024-07-01 10:08:56 -04:00
parent c2792c0415
commit 734d3cf08c
2 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,7 @@
(corfu-auto t) (corfu-auto t)
:config :config
(setq corfu-popupinfo-delay 0 (setq corfu-popupinfo-delay 0
corfu-auto-delay 0.5 ;; corfu-auto-delay 0.5
corfu-auto-prefix 1 corfu-auto-prefix 1
corfu-cycle t corfu-cycle t
corfu-preview-current nil corfu-preview-current nil

View File

@ -39,6 +39,7 @@
(sh-mode . eglot-ensure)) (sh-mode . eglot-ensure))
:config :config
(setq eglot-sync-connect 0) (setq eglot-sync-connect 0)
(add-to-list 'eglot-server-programs '(php-mode . ("intelephense" "--stdio")))
) )
;; Mejorar la velocidad de eglot (un binario en rust ) ;; Mejorar la velocidad de eglot (un binario en rust )