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:
parent
d54e5b4511
commit
360c36cc21
4
init.el
4
init.el
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue