Beauty some code lines.

A change for more easily read the code.
This commit is contained in:
KJ 2023-10-15 10:13:48 -04:00
parent a6cd373b2b
commit c2f8cc244d

View File

@ -32,17 +32,23 @@
(use-package eglot (use-package eglot
:defer t :defer t
:elpaca nil :elpaca nil
:hook ((css-mode . eglot-ensure) :hook ((css-mode . eglot-ensure)
(html-mode . eglot-ensure) (html-mode . eglot-ensure)
(php-mode . eglot-ensure) (php-mode . eglot-ensure)
(rust-mode . eglot-ensure) (rust-mode . eglot-ensure)
(sh-mode . eglot-ensure)) (sh-mode . eglot-ensure))
:config :config
;; (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 '(php-mode . ("phpactor" "language-server" "-vvv"))) (add-to-list 'eglot-server-programs '(php-mode . ("phpactor" "language-server" "-vvv")))
;; (add-to-list 'eglot-ignored-server-capabilites :hoverProvider) ;; (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 '(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 . ("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))) ;; (add-hook 'eglot--managed-mode-hook (lambda () (flymake-mode -1)))
) )