From e79c591a4295f1b8332ef2292688fb74444365e9 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Tue, 7 May 2024 17:13:19 +0200 Subject: [PATCH] emacs: Add flycheck-eglot --- home-manager/modules/emacs/config.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/home-manager/modules/emacs/config.org b/home-manager/modules/emacs/config.org index e10ef62..a4a8664 100644 --- a/home-manager/modules/emacs/config.org +++ b/home-manager/modules/emacs/config.org @@ -938,6 +938,15 @@ Show inline git-blame with [[https://github.com/Artawower/blamer.el][blamer.el]] (global-flycheck-mode)) #+end_src +Add eglot support for flycheck-mode + +#+begin_src emacs-lisp + (use-package flycheck-eglot + :after (flycheck eglot) + :config + (global-flycheck-eglot-mode 1)) +#+end_src + *** Tree-sitter [[https://tree-sitter.github.io/][tree-sitter]] is a new development in parsing and syntax highlighting. It has been merged into Emacs 29, but until that's released we're using the [[https://emacs-tree-sitter.github.io/][emacs-tree-sitter]] package while on Emacs 28.