From 734d3cf08c61495b279891c257de16befacfed07 Mon Sep 17 00:00:00 2001 From: KJ Date: Mon, 1 Jul 2024 10:08:56 -0400 Subject: [PATCH] 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. --- configs/init-corfu.el | 2 +- configs/init-eglot.el | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/init-corfu.el b/configs/init-corfu.el index 47c33a8..cdc4827 100644 --- a/configs/init-corfu.el +++ b/configs/init-corfu.el @@ -29,7 +29,7 @@ (corfu-auto t) :config (setq corfu-popupinfo-delay 0 - corfu-auto-delay 0.5 + ;; corfu-auto-delay 0.5 corfu-auto-prefix 1 corfu-cycle t corfu-preview-current nil diff --git a/configs/init-eglot.el b/configs/init-eglot.el index e833f31..bdbd8b2 100644 --- a/configs/init-eglot.el +++ b/configs/init-eglot.el @@ -39,6 +39,7 @@ (sh-mode . eglot-ensure)) :config (setq eglot-sync-connect 0) + (add-to-list 'eglot-server-programs '(php-mode . ("intelephense" "--stdio"))) ) ;; Mejorar la velocidad de eglot (un binario en rust )