Compare commits

..

No commits in common. "0b3138b6c790d4d6ab65b7ecd5c5b745d40760b6" and "ff85e08450dc093c24ce500e007ae7c7bb8a1c03" have entirely different histories.

View File

@ -39,17 +39,19 @@
(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")))
(add-to-list 'eglot-server-programs '(php-mode . ("phpactor" "language-server" "-vvv")))
;; Mejorar la velocidad de eglot (un binario en rust ) ;; (add-to-list 'eglot-ignored-server-capabilites :hoverProvider)
(use-package eglot-booster ;; (add-to-list 'eglot-server-programs '(css-mode . ("vscode-css-language-server" "--stdio")))
:ensure (:host github :repo "jdtsmith/eglot-booster") ;; (add-to-list 'eglot-server-programs '(html-mode . ("vscode-html-language-server" "--stdio")))
:after eglot ;; (add-to-list 'eglot-server-programs '(html-mode . ("emmet-ls" "--stdio")))
:config ;; (add-to-list 'eglot-server-programs '(html-mode . ("emmet-language-server" "--stdio")))
;; ;; (add-to-list 'eglot-server-programs '(html-mode . (eglot-alternatives
(if (executable-find "emacs-lsp-booster") ;; '(("vscode-html-language-server" "--stdio")
(eglot-booster-mode) ;; ("emmet-language-server" "--stdio")))))
(message "No está instalado emacs-lsp-booster. Eglot se usará de modo normal."))
;; (add-hook 'eglot--managed-mode-hook (lambda () (flymake-mode -1)))
) )
;; Emmet (mientras veo como hacer funcionar emmet-ls) ;; Emmet (mientras veo como hacer funcionar emmet-ls)