Compare commits

...

2 Commits

Author SHA1 Message Date
KJ
0b3138b6c7 Remove unnecessary comments. 2024-04-18 05:26:15 -04:00
KJ
bdaef62ba5 Add eglot-booster. 2024-04-18 05:25:55 -04:00

View File

@ -39,19 +39,17 @@
(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")))
;; (add-to-list 'eglot-ignored-server-capabilites :hoverProvider) ;; Mejorar la velocidad de eglot (un binario en rust )
;; (add-to-list 'eglot-server-programs '(css-mode . ("vscode-css-language-server" "--stdio"))) (use-package eglot-booster
;; (add-to-list 'eglot-server-programs '(html-mode . ("vscode-html-language-server" "--stdio"))) :ensure (:host github :repo "jdtsmith/eglot-booster")
;; (add-to-list 'eglot-server-programs '(html-mode . ("emmet-ls" "--stdio"))) :after eglot
;; (add-to-list 'eglot-server-programs '(html-mode . ("emmet-language-server" "--stdio"))) :config
;; (add-to-list 'eglot-server-programs '(html-mode . (eglot-alternatives ;;
;; '(("vscode-html-language-server" "--stdio") (if (executable-find "emacs-lsp-booster")
;; ("emmet-language-server" "--stdio"))))) (eglot-booster-mode)
(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)