Add keybind to initiate eglot connection when down
This commit is contained in:
parent
40d8c92ebb
commit
e6d2fe10e4
16
init.el
16
init.el
|
@ -269,13 +269,15 @@
|
||||||
|
|
||||||
(use-package eglot
|
(use-package eglot
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:bind (:map eglot-mode-map
|
:bind
|
||||||
("C-c e c" . eglot-code-actions)
|
("C-c e" . eglot)
|
||||||
("C-c e r" . eglot-rename)
|
(:map eglot-mode-map
|
||||||
("C-c e f" . eglot-format)
|
("C-c e c" . eglot-code-actions)
|
||||||
("C-c e s" . eglot-shutdown)
|
("C-c e r" . eglot-rename)
|
||||||
("C-c e S" . eglot-shutdown-all)
|
("C-c e f" . eglot-format)
|
||||||
("C-c e R" . eglot-reconnect))
|
("C-c e s" . eglot-shutdown)
|
||||||
|
("C-c e S" . eglot-shutdown-all)
|
||||||
|
("C-c e R" . eglot-reconnect))
|
||||||
:hook
|
:hook
|
||||||
(c-mode . eglot-ensure)
|
(c-mode . eglot-ensure)
|
||||||
(c-ts-mode . eglot-ensure)
|
(c-ts-mode . eglot-ensure)
|
||||||
|
|
Loading…
Reference in a new issue