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

Check LSP client's dynamic registration capabilities #921

Open
glenneth1 opened this issue Dec 1, 2024 · 2 comments
Open

Check LSP client's dynamic registration capabilities #921

glenneth1 opened this issue Dec 1, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@glenneth1
Copy link

Describe the bug
When opening a typ file in emacs I get the following warning from eglot '[eglot] (warning) Server tried to register unsupported capability `workspace/didChangeConfiguration''

Package/Software version:

Emacs:

Version: 29.4
OS: Linux x64 6.12.1-zen-1 x86_64 GNU/Linux

tinymist extension version: v0.11.0. Get it by tinymist --version in terminal.

tinymist 
Build Timestamp:     2024-11-16T06:17:39.000000000Z
Build Git Describe:  v0.12.0#58426a90a7ef721738a01be09793d33e55eb75a9
Commit SHA:          57c6c7a4f6699b1134be85bb2c8bcc677c74bde9
Commit Date:         None
Commit Branch:       None
Cargo Target Triple: x86_64-unknown-linux-gnu
Typst Version:       0.12.0

I have messaged the eglot issues github repo and the general consensus is that it's a tinymist issue and not eglot.

Any pointers would be appreciated. Not a dealbreaker as the lsp seems to be working just fine. Just would like to bottom out what the issue is. I have followed the suggested config for emacs from the docs.

Thank you.

@Enter-tainer
Copy link
Collaborator

I have messaged the eglot issues github repo and the general consensus is that it's a tinymist issue and not eglot.

could you put relevant link here?

@Myriad-Dreamin
Copy link
Owner

In fact, tinymist hasn't nicely check all client capabilities. This should not be a bug but a low-prior thing to improve, as the whole capabilities is a super huge object containing thousands of options.

Possible reference: https://github.com/typescript-language-server/typescript-language-server/blob/184c60de3308621380469d6632bdff2e10f672fd/src/lsp-server.ts#L109-L133

@Myriad-Dreamin Myriad-Dreamin changed the title Eglot workspace error Check LSP client's dynamic registration capabilities Dec 6, 2024
@Myriad-Dreamin Myriad-Dreamin added enhancement New feature or request good first issue Good for newcomers labels Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants