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

Helix editor cannot register the lsp? #47

Closed
Ciflire opened this issue Nov 8, 2024 · 2 comments
Closed

Helix editor cannot register the lsp? #47

Ciflire opened this issue Nov 8, 2024 · 2 comments
Assignees

Comments

@Ciflire
Copy link

Ciflire commented Nov 8, 2024

Describe the bug
I am unsure if the lsp is the cause but i've been trying to make this work with helix. i'm getting the following warning

2024-11-08T23:27:08.133 helix_term::application [WARN] Ignoring a client/registerCapability request because dynamic capability registration is not enabled. Please report this upstream to the language server

if the concerned lsp is not mentionned i believe it is related to ltex ls as the other lsp i have configured works

Steps to reproduce
Use the following helix config for typst

[language-server.ltex-ls-plus]
command = "/nix/store/1125hnb9n9f1h2yhl6xiagl2gpc8qn12-ltex-ls-plus-18.3.0-alpha.nightly.2024-11-08/bin/ltex-ls-plus"

[language-server.tinymist]
command = "/nix/store/qarpsl8wm3yv2vhzdzlingqghn73ia3c-tinymist-0.12.0/bin/tinymist"

[[languages]]
auto-format = true
comment-token = "//"
file-types = ["typst", "typ"]
injection-regex = "typ(st)?"
language-servers = ["tinymist", "ltex-ls-plus"]
name = "typst"
scope = "source.typst"

This uses nix paths but don't mind those, the lsp is able to launch outside of helix. I get a java process running when the lsp is running, but i get non inside helix

Expected behavior
The expected behavior is to have the lsp working, giving error, and having the process running

Version information

  • Operating system: Linux, NixOS
  • ltex-ls: nightly build
  • Java: 21.0.4

Additional context/information
valentjn#249
i found this issue that shows an helix example config, but as you can see, this is pretty close to mine

@spitzerd
Copy link

spitzerd commented Nov 9, 2024

I don't know this error message either.

Does it work with other files, e.g Markdown?
Does it work with the latest stable release of ltex-ls-plus?

@Ciflire
Copy link
Author

Ciflire commented Nov 9, 2024

nvmd everything works fine, i'm just dumb, and also it take a lot of time to load and analyze my files (i'm not patient enough)
i will report any grammar checking issue i notice in the ltex-vscode issue opened even if i know the problem comes from the lsp, but that's where the discussion is taking place i believe

@Ciflire Ciflire closed this as completed Nov 9, 2024
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

No branches or pull requests

2 participants