Autostart eglot on sh-mode.
This commit is contained in:
parent
816a2188af
commit
38d53dc5c1
@ -11,7 +11,9 @@
|
|||||||
:defer t
|
:defer t
|
||||||
:straight (:type built-in)
|
:straight (:type built-in)
|
||||||
:hook ((css-mode . eglot-ensure)
|
:hook ((css-mode . eglot-ensure)
|
||||||
(html-mode . eglot-ensure))
|
(html-mode . eglot-ensure)
|
||||||
|
(php-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-ignored-server-capabilites :hoverProvider)
|
;; (add-to-list 'eglot-ignored-server-capabilites :hoverProvider)
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
(local-set-key (kbd "C-c d b") 'php-doc-block) ;; atajo para docblock
|
(local-set-key (kbd "C-c d b") 'php-doc-block) ;; atajo para docblock
|
||||||
(company-mode t) ; habilita company mode
|
(company-mode t) ; habilita company mode
|
||||||
))
|
))
|
||||||
(php-mode . eglot-ensure)
|
|
||||||
;; (php-mode . lsp)
|
;; (php-mode . lsp)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user