aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorJoão Távora2024-04-22 16:37:38 +0100
committerJoão Távora2024-04-23 08:44:43 -0500
commit3a4583baf679289857150ee8ecf20b61e59b9d37 (patch)
tree1e708c0dba759d6fd110553af86114bef230a4d6 /java
parent3a8d94dec136a067119ed0af2acc18664969dfbd (diff)
downloademacs-3a4583baf679289857150ee8ecf20b61e59b9d37.tar.gz
emacs-3a4583baf679289857150ee8ecf20b61e59b9d37.zip
Eglot: fix bug#70408 yet another way
The previous fix based on comparing the Eglot-provided didOpen URI to the server-provided textDocument/publishDiagnostics URI didn't quite work because the URI differs slightly in escaping conventions on certain platforms. This elephant-size bug is easily reproducible on Windows with clangd, where every file is basically diagnostic-free. * lisp/progmodes/eglot.el (eglot-path-to-uri): Rework. (eglot--TextDocumentIdentifier-cache): Rename from eglot--TextDocumentIdentifier-uri. (eglot-handle-notification textDocument/publishDiagnostics): Tweak. (eglot--TextDocumentIdentifier): Rework. (eglot--signal-textDocument/didOpen): Tweak.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions