]> git.eshelyaron.com Git - emacs.git/commit
Collect regions to change as markers, then edit
authorJoão Távora <joaotavora@gmail.com>
Sat, 19 May 2018 10:12:41 +0000 (11:12 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sat, 19 May 2018 10:12:41 +0000 (11:12 +0100)
commita570c09fade804c55296c30deb2df3bb7842a97e
tree59f277557462bbad947bc20e81c66ed319f86c60
parent937f999a13a5767d49eabc54d8baa3a355bf4ebf
Collect regions to change as markers, then edit

* eglot.el (eglot--lsp-position-to-point): Accept MARKER optional
arg.
(eglot--range-region): Accept MARKERS optional arg. Return a list.
(eglot--server-textDocument/publishDiagnostics)
(eglot--hover-info, eglot-eldoc-function): eglot--range-region
returns a list, not a cons.
(eglot--apply-text-edits): First collect regions as markers, then
edit.

GitHub-reference: close https://github.com/joaotavora/eglot/issues/4
lisp/progmodes/eglot.el