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

Zed support #317

Open
inferrna opened this issue Jul 24, 2024 · 2 comments
Open

Zed support #317

inferrna opened this issue Jul 24, 2024 · 2 comments

Comments

@inferrna
Copy link
Contributor

Still no 🦞 support in Zed, so I decided to make one.

Currently, it is not recommended for everyday usage, but already can do something.
image

Zed extension API relies on tree-sitter and LSP. So

Here https://github.com/inferrna/tree-sitter-lobster is tree-sitter grammar. It was bravely forked from tree-sitter-python, and now it is mostly python with C-style comments and var + let highlighting support.

Here https://github.com/inferrna/zed-lobster is Zed extension itself + LSP server (which I borrowed from your code. I made some modifications to force it working somehow because it seems that not all required methods are supported by Zed).

Pull requests and any collab are welcome because I'm not so powered in all this stuff, even in Lobster )

@aardappel
Copy link
Owner

@ewoudje who made the LSP.

I'd say that rather than copying it, you'd be better of sub-moduling Lobster or whatever, so you get updates.

@ewoudje
Copy link
Contributor

ewoudje commented Jul 25, 2024

Oh nice, those changes you made with the LSP you can PR them if you'd like. then you can indeed also submodule lobster with your LSP changes.
I'm assuming certain features that current LSP implementation uses aren't implemented in Zed, it would be great if we could just support not having those features when they're not available

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

3 participants