[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40351: Flymake error count
From: |
sir |
Subject: |
bug#40351: Flymake error count |
Date: |
Tue, 31 Mar 2020 07:21:54 -0300 |
User-agent: |
mblaze/0.5.1 |
I've created a flymake backend based on the flymake docs:
https://www.gnu.org/software/emacs/manual/html_node/flymake/An-annotated-example-backend.html#An-annotated-example-backend
It works, but I'm also using Eglot, and noticed that on the error count
displayed on the status line of emacs it doesn't count properly for my backend.
It displays a number 1 for each error it discovers, but Eglot errors are able
to increase the number of its backend. This is what displays my status line:
(PHP//l company Flymake[1 1 1 3 0] ...)
It should display ... Flymake [3 3 0] ...
The attached image will explain it better. I'm attaching the backend also, if
you need to see the code (though it's actually pretty much the same as the
example in docs).
How could I make my backend increase the error count instead of creating other
counter?
eglot-flymake.png
Description: PNG image
flymake-phpcs.el
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#40351: Flymake error count,
sir <=