Use intelephense as the php lsp.
This commit is contained in:
@ -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
|
||||||
@ -72,8 +71,8 @@
|
|||||||
:config
|
:config
|
||||||
;;
|
;;
|
||||||
(if (executable-find "emacs-lsp-booster")
|
(if (executable-find "emacs-lsp-booster")
|
||||||
(eglot-booster-mode)
|
(eglot-booster-mode)
|
||||||
(message "No está instalado emacs-lsp-booster. Eglot se usará de modo normal."))
|
(message "No está instalado emacs-lsp-booster. Eglot se usará de modo normal."))
|
||||||
)
|
)
|
||||||
|
|
||||||
;; Emmet (mientras veo como hacer funcionar emmet-ls)
|
;; Emmet (mientras veo como hacer funcionar emmet-ls)
|
||||||
|
Reference in New Issue
Block a user