aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorJoão Távora2025-04-29 12:20:51 +0100
committerJoão Távora2025-04-29 12:23:06 +0100
commit7ae275f04c46e1724fafd8c8aa2f3eed5771df1c (patch)
tree1360d5f50324022db05590b179b44158fcd50718 /src/coding.c
parent3c47139b8f602286a8c5c5ca72431b933b4f2a23 (diff)
downloademacs-7ae275f04c46e1724fafd8c8aa2f3eed5771df1c.tar.gz
emacs-7ae275f04c46e1724fafd8c8aa2f3eed5771df1c.zip
Eglot: improve diagnostic-reporting performance
After a change in the buffer has occured, it is often the case that Flymake is quicker to ask for diagnostics than the server is to supply them to us. If we're still stuck with old outdated diagnostics, don't forward them to Flymake, even if it eagerly asks us for them. * etc/EGLOT-NEWS (Changes in upcoming Eglot): Announce changes. * lisp/progmodes/eglot.el (eglot--diagnostics): Rework. (eglot--report-to-flymake): Also take version. (eglot-handle-notification textDocument/publishDiagnostics) (eglot--managed-mode) (eglot-flymake-backend): Tweak call to eglot--report-to-flymake.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions