From 87dc0ab99a14780e72b6b85b753754b4200650d8 Mon Sep 17 00:00:00 2001 From: kj Date: Thu, 28 Aug 2025 15:10:36 -0300 Subject: [PATCH] Use intelephense as the php lsp. --- configs/init-lsp.el | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/configs/init-lsp.el b/configs/init-lsp.el index b56bc39..a6a3791 100644 --- a/configs/init-lsp.el +++ b/configs/init-lsp.el @@ -39,13 +39,12 @@ (eglot-ensure)))) ((markdown-mode yaml-mode yaml-ts-mode) . eglot-ensure)) :init - (setq read-process-output-max (* 1024 1024)) ; 1MB + (setq read-process-output-max (* 4 1024 1024)) ; 4MB (setq eglot-autoshutdown t - eglot-events-buffer-size 0 eglot-send-changes-idle-time 0.5) :config (setq eglot-sync-connect 0) - ;; (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 '((tsx-ts-mode @@ -63,7 +62,7 @@ "Passes through required deno initialization options" (list :enable t :lint t)) -) + ) ;; Mejorar la velocidad de eglot (un binario en rust ) (use-package eglot-booster @@ -72,8 +71,8 @@ :config ;; (if (executable-find "emacs-lsp-booster") - (eglot-booster-mode) - (message "No está instalado emacs-lsp-booster. Eglot se usará de modo normal.")) + (eglot-booster-mode) + (message "No está instalado emacs-lsp-booster. Eglot se usará de modo normal.")) ) ;; Emmet (mientras veo como hacer funcionar emmet-ls)