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
|
||||
:ensure nil
|
||||
:bind (:map eglot-mode-map
|
||||
("C-c e c" . eglot-code-actions)
|
||||
("C-c e r" . eglot-rename)
|
||||
("C-c e f" . eglot-format)
|
||||
("C-c e s" . eglot-shutdown)
|
||||
("C-c e S" . eglot-shutdown-all)
|
||||
("C-c e R" . eglot-reconnect))
|
||||
:bind
|
||||
("C-c e" . eglot)
|
||||
(:map eglot-mode-map
|
||||
("C-c e c" . eglot-code-actions)
|
||||
("C-c e r" . eglot-rename)
|
||||
("C-c e f" . eglot-format)
|
||||
("C-c e s" . eglot-shutdown)
|
||||
("C-c e S" . eglot-shutdown-all)
|
||||
("C-c e R" . eglot-reconnect))
|
||||
:hook
|
||||
(c-mode . eglot-ensure)
|
||||
(c-ts-mode . eglot-ensure)
|
||||
|
|
Loading…
Reference in a new issue