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

Dymanic capability registration not enabled, helix-editor reports #595

Open
Tefached95 opened this issue Jun 14, 2023 · 0 comments
Open

Comments

@Tefached95
Copy link

Hello,

I've been trying to get the LSP working with the helix editor. I've built the server as per instructions and added the following to languages.toml:

[[language]]
name = "haxe"
scope = "source.haxe"
injection-regex = "^Haxe$"
file-types = [ "hx", "hxml" ]
comment-token = "//"
language-servers = [ "haxe-lsp" ]
roots = [".gitignore"]

[language-server.haxe-lsp]
command = "node"
args = ["E:\\Projects\\haxe-language-server\\bin\\server.js"]

[[grammar]]
name = "haxe"
source = { git = "https://github.com/vantreeseba/tree-sitter-haxe", rev = "ca7ed7931a93a0434cd1f5d6bb6c333865fe711a" }

Which "works", but then trying to open a .hx file results in the following output in the log:

2023-06-14T19:08:16.693 helix_lsp::transport [ERROR] haxe-lsp err: <- StreamClosed
2023-06-14T19:08:16.766 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 more details are needed please let me know, and thank you in advance!

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

1 participant