-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do Rust's RLS hack properly with new class-based API
* eglot.el (eglot-server-ready-p): New API method. (eglot-handle-request, eglot-handle-notification): New defgeneric's. (eglot--ready-predicates, eglot--server-ready-p): Remove. (eglot--async-request): Call eglot-server-ready-p. (eglot--request): Tweak comment. (eglot--rls-probably-ready-for-p): Remove. (eglot-server-ready-p eglot-rls): Adapts earlier eglot--rls-probably-ready-for-p. (eglot-handle-notification eglot-rls): Specialize to eglot-rls. (eglot-rls): New eglot-lsp-server subclass. * eglot-tests.el (auto-detect-running-server) (auto-reconnect, basic-completions) (hover-after-completions): Use eglot--interactive
- Loading branch information
1 parent
412e77d
commit 62b8cf3
Showing
1 changed file
with
32 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters