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))) )