]> git.eshelyaron.com Git - emacs.git/commit
Eglot: better consider diagnostics at point on code action requests
authorJoão Távora <joaotavora@gmail.com>
Wed, 20 Sep 2023 10:00:19 +0000 (11:00 +0100)
committerJoão Távora <joaotavora@gmail.com>
Wed, 20 Sep 2023 10:02:51 +0000 (11:02 +0100)
commit76cdf293c480c3825eb99eae0ab863d185cf6570
treeb9859f32fca403ae4c6280bf587183744bde569b
parentf0794ac9cafb8354119ef0052c67f092ed059eb4
Eglot: better consider diagnostics at point on code action requests

* lisp/progmodes/eglot.el (eglot--code-action-bounds): Rename from
eglot--code-action-bounds.  Rework to consider diagnostics.
(eglot-code-actions): Use new eglot--code-action-bounds.
(eglot--code-action): Use new eglot--code-action-bounds.

* etc/EGLOT-NEWS: mention change.

GitHub-reference: https://github.com/joaotavora/eglot/discussions/1295
etc/EGLOT-NEWS
lisp/progmodes/eglot.el