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

Bundle zls inside zig to make installation easier #2116

Closed
vegerot opened this issue Dec 24, 2024 · 2 comments
Closed

Bundle zls inside zig to make installation easier #2116

vegerot opened this issue Dec 24, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@vegerot
Copy link

vegerot commented Dec 24, 2024

  • Problem: Currently, installing zls is unintuitive
  • Reason: This is because of the difficulty in matching the zls and zig versions
  • Solution: Include zls inside zig, as zig lsp.

I noticed that zls isn't an official Zig project, which would mean we'd need to make this project official before bundling them together :)

@vegerot vegerot added the enhancement New feature or request label Dec 24, 2024
@Techatrix
Copy link
Member

Adopting ZLS into the Zig project would have far reaching consequences which have not been examined in this issue. The given reasoning is not enough. I also highly doubt that the Zig team has any interest in this and so do I.

If you don't want to go thorugh the ZLS install page, I would suggest a version management tool like ZVM.

@Techatrix Techatrix closed this as not planned Won't fix, can't repro, duplicate, stale Dec 24, 2024
@mlugg
Copy link
Contributor

mlugg commented Dec 28, 2024

I'd also like to note (to OP; Techatrix already knows this) that an LSP implementation is considered out of scope for a Zig Software Foundation project: we aren't in the business of tying the compiler into specific protocols like this where it can be avoided. See ziglang/zig#615 for more context.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants