]> git.eshelyaron.com Git - emacs.git/commit
Fix textdocument/didchange
authorJoão Távora <joaotavora@gmail.com>
Thu, 3 May 2018 21:42:13 +0000 (22:42 +0100)
committerJoão Távora <joaotavora@gmail.com>
Thu, 3 May 2018 21:42:13 +0000 (22:42 +0100)
commit22965312e117a8f864a23e223f32c29cae0fdba4
treee71c6156a16b602ea4d77cfe42b8b448b8835cd2
parente5e9437882406c406ed401fc67faf97d523a0e8e
Fix textdocument/didchange

* eglot.el (eglot-editing-mode): Manage before-change-functions.
(eglot--recent-changes): Deleted.
(eglot--recent-before-changes): New var.
(eglot--recent-after-changes): Renamed from eglot--recent-changes.
(eglot--pos-to-lsp-position, eglot--before-change): New helpers.
(eglot--after-change): Rework.
(eglot--signal-textDocument/didChange): Rework.
lisp/progmodes/eglot.el