Use intelephense as the php lsp.

This commit is contained in:
kj
2025-08-28 15:10:36 -03:00
parent 9b7635e69e
commit 87dc0ab99a

View File

@ -39,13 +39,12 @@
(eglot-ensure)))) (eglot-ensure))))
((markdown-mode yaml-mode yaml-ts-mode) . eglot-ensure)) ((markdown-mode yaml-mode yaml-ts-mode) . eglot-ensure))
:init :init
(setq read-process-output-max (* 1024 1024)) ; 1MB (setq read-process-output-max (* 4 1024 1024)) ; 4MB
(setq eglot-autoshutdown t (setq eglot-autoshutdown t
eglot-events-buffer-size 0
eglot-send-changes-idle-time 0.5) eglot-send-changes-idle-time 0.5)
:config :config
(setq eglot-sync-connect 0) (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 (add-to-list 'eglot-server-programs
'((tsx-ts-mode '((tsx-ts-mode
@ -63,7 +62,7 @@
"Passes through required deno initialization options" "Passes through required deno initialization options"
(list :enable t (list :enable t
:lint t)) :lint t))
) )
;; Mejorar la velocidad de eglot (un binario en rust ) ;; Mejorar la velocidad de eglot (un binario en rust )
(use-package eglot-booster (use-package eglot-booster