From e6d2fe10e4289b5f6f457659bf039f4a9ba24e12 Mon Sep 17 00:00:00 2001 From: eriedaberrie Date: Sun, 22 Dec 2024 00:34:51 -0800 Subject: [PATCH] Add keybind to initiate eglot connection when down --- init.el | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/init.el b/init.el index b4f1a11..81cf0b5 100644 --- a/init.el +++ b/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)