From 35d88c657e15a762cb37ee354c63f1540c035268 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 10 Sep 2023 21:07:03 +0200 Subject: [PATCH] Document using Flymake together with Eglot * doc/misc/flymake.texi (Top, Using Flymake): Document using Flymake together with Eglot. (Bug#60040) --- doc/misc/flymake.texi | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi index 66dba8a1d3c..be8fedf5672 100644 --- a/doc/misc/flymake.texi +++ b/doc/misc/flymake.texi @@ -59,8 +59,11 @@ types of diagnostics. To learn about using Flymake, @pxref{Using Flymake}. -Flymake is designed to be easily extended to support new backends via -an Elisp interface. @xref{Extending Flymake}. +When the Emacs LSP support mode Eglot is enabled, Flymake will use +that as an additional back-end. @xref{Eglot Features,,, eglot, Eglot: +The Emacs LSP Client} Flymake is also designed to be easily extended +to support new backends via an Elisp interface. @xref{Extending +Flymake}. Historically, Flymake used to accept diagnostics from a single backend. Although obsolete, it is still functional. To learn how to @@ -93,6 +96,10 @@ already setup this hook for you, by adding @dfn{backend functions} to @code{flymake-diagnostic-functions}. If you know Elisp you may also write your own Flymake backend functions. @xref{Backend functions}. +When the Emacs LSP support mode Eglot is enabled, Flymake will use +that as an additional back-end automatically. @xref{Eglot Features,,, +eglot, Eglot: The Emacs LSP Client} + @menu * Starting Flymake:: * Finding diagnostics:: -- 2.39.5