Hook eglot-ensure to prog-mode
This commit is contained in:
parent
7a06e51a1c
commit
186ae249f6
|
@ -1100,7 +1100,8 @@
|
||||||
("C-c c e" . eglot)
|
("C-c c e" . eglot)
|
||||||
("C-c c a" . eglot-code-actions)
|
("C-c c a" . eglot-code-actions)
|
||||||
("C-c c r" . eglot-rename))
|
("C-c c r" . eglot-rename))
|
||||||
:hook ((eglot-managed-mode . (lambda () (add-hook 'flymake-diagnostic-functions 'eglot-flymake-backend nil t))))
|
:hook ((prog-mode . eglot-ensure)
|
||||||
|
(eglot-managed-mode . (lambda () (add-hook 'flymake-diagnostic-functions 'eglot-flymake-backend nil t))))
|
||||||
:custom
|
:custom
|
||||||
(eglot-menu-string "lsp")
|
(eglot-menu-string "lsp")
|
||||||
(eglot-send-changes-idle-time 0.5)
|
(eglot-send-changes-idle-time 0.5)
|
||||||
|
|
Loading…
Reference in a new issue