Replace lsp-mode with eglot
Some checks failed
/ Test config on 20 (push) Failing after 49s

This commit is contained in:
Maciej 2025-09-18 15:06:30 +03:00
parent f03cae68b3
commit 2ef1340e6c
Signed by: maciej
GPG key ID: 28243AF437E32F99
28 changed files with 140 additions and 220 deletions

View file

@ -27,13 +27,12 @@
:mode ("\\.graphqls\\'" . graphql-mode))
;; Yaml
(declare-function lsp "lsp-mode" nil)
(use-package yaml-mode :ensure t :defer t :requires (lsp))
(use-package yaml-mode :ensure t :defer t)
(with-eval-after-load 'yaml-mode
(defun icejam-lang-activate-yaml-mode ()
"Activate yaml-mode."
(lsp))
(eglot-ensure))
(add-hook 'yaml-mode-hook 'icejam-lang-activate-yaml-mode))
;; Other text files