aboutsummaryrefslogtreecommitdiffstats
path: root/java/org
diff options
context:
space:
mode:
authorJoão Távora2025-01-14 15:58:57 +0000
committerJoão Távora2025-01-28 11:04:21 +0000
commit7f0ef9655cdc28c3b8055e32c9e84ea57339b139 (patch)
tree87aaaeafc6a6dc5670e186d74aac8b76e431a356 /java/org
parent9e4b626f7eea788966a1ad92d4af76f8b0a2573f (diff)
downloademacs-7f0ef9655cdc28c3b8055e32c9e84ea57339b139.tar.gz
emacs-7f0ef9655cdc28c3b8055e32c9e84ea57339b139.zip
Eglot: introduce eglot-advertise-cancellation
Setting this variable to true causes Eglot to send special cancellation notification for certain stale client request. This may help some LSP servers avoid doing costly but ultimately useless work on behalf of the client, improving overall performance. Request cancellation is described in https://microsoft.github.io/language-server-protocol/ specifications/lsp/3.17/specification/#cancelRequest * lisp/jsonrpc.el (jsonrpc-request): Accept function as value for CANCEL-ON-INPUT. * lisp/progmodes/eglot.el (eglot--request): Rework. * doc/misc/eglot.texi (Customizing Eglot): Mention eglot-advertise-cancellation.
Diffstat (limited to 'java/org')
0 files changed, 0 insertions, 0 deletions