From c2f8cc244df503b7a100feb539be8449b0f3f06f Mon Sep 17 00:00:00 2001 From: KJ Date: Sun, 15 Oct 2023 10:13:48 -0400 Subject: [PATCH] Beauty some code lines. A change for more easily read the code. --- configs/init-eglot.el | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/configs/init-eglot.el b/configs/init-eglot.el index 44f90dd..39f7b64 100644 --- a/configs/init-eglot.el +++ b/configs/init-eglot.el @@ -32,17 +32,23 @@ (use-package eglot :defer t :elpaca nil - :hook ((css-mode . eglot-ensure) + :hook ((css-mode . eglot-ensure) (html-mode . eglot-ensure) - (php-mode . eglot-ensure) + (php-mode . eglot-ensure) (rust-mode . eglot-ensure) - (sh-mode . eglot-ensure)) + (sh-mode . eglot-ensure)) :config ;; (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) ;; (add-to-list 'eglot-server-programs '(css-mode . ("vscode-css-language-server" "--stdio"))) ;; (add-to-list 'eglot-server-programs '(html-mode . ("vscode-html-language-server" "--stdio"))) + ;; (add-to-list 'eglot-server-programs '(html-mode . ("emmet-ls" "--stdio"))) + ;; (add-to-list 'eglot-server-programs '(html-mode . ("emmet-language-server" "--stdio"))) + ;; (add-to-list 'eglot-server-programs '(html-mode . (eglot-alternatives + ;; '(("vscode-html-language-server" "--stdio") + ;; ("emmet-language-server" "--stdio"))))) ;; (add-hook 'eglot--managed-mode-hook (lambda () (flymake-mode -1))) )