]> git.eshelyaron.com Git - emacs.git/commit
Cleanup mistake with textdocumentitem and textdocumentidentifier
authorJoão Távora <joaotavora@gmail.com>
Sat, 5 May 2018 01:24:37 +0000 (02:24 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sat, 5 May 2018 01:29:57 +0000 (02:29 +0100)
commit632a39624d5fcb334a34cc64e374d6aa86e1c03c
treed2ba72db9a2f28616127656e3161d0b7008e54db
parentb83cd67751ecb8a1d08993f0751bc5d3dc480a24
Cleanup mistake with textdocumentitem and textdocumentidentifier

Also introduce eglot--path-to-uri

* eglot.el (eglot--path-to-uri): Rename from eglot--uri and rework.
(eglot--connect): Use it.
(eglot--current-buffer-TextDocumentIdentifier): New function.
(eglot--current-buffer-VersionedTextDocumentIdentifier)
(eglot--signal-textDocument/didChange)
(eglot--signal-textDocument/didClose)
(eglot--signal-textDocument/willSave)
(eglot--signal-textDocument/didSave): Use it.
lisp/progmodes/eglot.el