Remove bind to start eglot

Seems like starting it from the keybind doesn't enable the project
persistence that comes with `M-x eglot'
This commit is contained in:
Evie Litherland-Smith 2024-05-10 15:06:54 +01:00
parent d54e5b4511
commit 360c36cc21

View file

@ -903,11 +903,9 @@ Uses `my/projects-directory' to find correct directory"
(use-package eglot
:demand
:bind ( :map prog-mode-map
("C-c c e" . eglot)
("C-c c a" . eglot-code-actions)
("C-c c r" . eglot-rename))
:hook ((eglot-managed-mode . (lambda () (add-hook 'flymake-diagnostic-functions
'eglot-flymake-backend nil t))))
:hook ((eglot-managed-mode . (lambda () (add-hook 'flymake-diagnostic-functions 'eglot-flymake-backend nil t))))
:custom
(eglot-extend-to-xref t)
(eglot-autoshutdown t)