Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support window/showDocument request #855

Closed
wants to merge 1 commit into from
Closed

Conversation

nemethf
Copy link
Collaborator

@nemethf nemethf commented Feb 28, 2022

Please review this carefully, because I haven't found any servers that send this request. So I tested this against my own server-side implementation.

(My plan is to modify rust-analyzer to use the standardized showDocument instead of their non-standard gotoLocation and I'd like if the new rust-analyzer feature would work in Eglot.)

https://microsoft.github.io/language-server-protocol/specifications/specification-3-17/#window_showDocument


  • eglot.el (eglot-client-capabilities): Add showDocument support.
    (eglot-handle-request window/showDocument): New cl-defmethod.

* eglot.el (eglot-client-capabilities): Add showDocument support.
(eglot-handle-request window/showDocument): New cl-defmethod.
@nemethf
Copy link
Collaborator Author

nemethf commented Sep 18, 2023

Eglot has something like this since emacs-mirror/emacs@c083fa5

@nemethf nemethf closed this Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant