Add basic eglot configuration

This commit is contained in:
Daniel - 2023-12-28 15:27:34 +01:00
parent 3211acd21b
commit d7ce497278
Signed by: dbo
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 8 additions and 0 deletions

View File

@ -1302,6 +1302,14 @@ Note that this workaround is incomplete, as explained in this comment."
ediff-show-clashes-only t)
:config (add-hook 'ediff-after-quit-hook-internal 'winner-undo))
;; Inspired by
;; https://andreyor.st/posts/2023-09-09-migrating-from-lsp-mode-to-eglot.
(use-package eglot
:ensure t
:init (setq eglot-autoshutdown t
eglot-extend-to-xref nil
eglot-stay-out-of '(yasnippet)))
(use-package flycheck
:ensure t
:commands (global-flycheck-mode flycheck-mode)