Autostart eglot on sh-mode.

This commit is contained in:
kj 2022-11-23 12:30:07 -04:00
parent 816a2188af
commit 38d53dc5c1
2 changed files with 3 additions and 2 deletions

View File

@ -11,7 +11,9 @@
:defer t
:straight (:type built-in)
:hook ((css-mode . eglot-ensure)
(html-mode . eglot-ensure))
(html-mode . eglot-ensure)
(php-mode . eglot-ensure)
(sh-mode . eglot-ensure))
:config
(add-to-list 'eglot-server-programs '(php-mode . ("intelephense" "--stdio")))
;; (add-to-list 'eglot-ignored-server-capabilites :hoverProvider)

View File

@ -14,7 +14,6 @@
(local-set-key (kbd "C-c d b") 'php-doc-block) ;; atajo para docblock
(company-mode t) ; habilita company mode
))
(php-mode . eglot-ensure)
;; (php-mode . lsp)
)
)