-
Notifications
You must be signed in to change notification settings - Fork 200
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
Implement workspace/didChangeConfiguration #29
Comments
The only drawback is that both LSP and project.el support multiple roots (this isn't implemented yet). What to do in that situation? There aren't "project-local variables yet". But I would worry about this later and go with What do you think, wanna give it a shot? :-) |
* README.md (Supported Protocol Features, Commands and keybindings): mention workspace/didChangeConfiguration. * eglot.el (eglot-server-initialized-hook): New hook. (eglot--connect): Run it. (eglot-workspace-configuration): New variable. (eglot-signal-didChangeConfiguration): New command.
Actually, I had a look and this looked trivial so I tried it myself. 100% untested (and still missing the |
ping? @tromey do you have any comments on the fix I proposed for this issue? |
… (#40) * README.md (Supported Protocol Features, Commands and keybindings): mention workspace/didChangeConfiguration. * eglot.el (eglot-server-initialized-hook): New hook. (eglot--connect): Run it. (eglot-workspace-configuration): New variable. (eglot-signal-didChangeConfiguration): New command.
… (#40) * README.md (Supported Protocol Features, Commands and keybindings): mention workspace/didChangeConfiguration. * eglot.el (eglot-server-initialized-hook): New hook. (eglot--connect): Run it. (eglot-workspace-configuration): New variable. (eglot-signal-didChangeConfiguration): New command.
* README.md (Supported Protocol Features, Commands and keybindings): mention workspace/didChangeConfiguration. * eglot.el (eglot-server-initialized-hook): New hook. (eglot--connect): Run it. (eglot-workspace-configuration): New variable. (eglot-signal-didChangeConfiguration): New command. #29: joaotavora/eglot#29 (#40: joaotavora/eglot#40
* README.md (Supported Protocol Features, Commands and keybindings): mention workspace/didChangeConfiguration. * eglot.el (eglot-server-initialized-hook): New hook. (eglot--connect): Run it. (eglot-workspace-configuration): New variable. (eglot-signal-didChangeConfiguration): New command. GitHub-reference: close joaotavora/eglot#29 GitHub-reference: close joaotavora/eglot#40
At least RLS uses
workspace/didChangeConfiguration
; see https://github.com/rust-lang-nursery/rls#configuration.Maybe configuration could be handled similarly to
.dir-locals.el
somehow - just a file with a sexp in it that is passed to the LSP server when it changes?The text was updated successfully, but these errors were encountered: