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 Editor Support #462

Open
bbb651 opened this issue Mar 24, 2024 · 0 comments
Open

Zed Editor Support #462

bbb651 opened this issue Mar 24, 2024 · 0 comments

Comments

@bbb651
Copy link

bbb651 commented Mar 24, 2024

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the discussions and believe that my question is not already covered.

Feature Request

Zed is a code editor that recently added support for language servers in extensions.
I made a draft pull request that added builtin support for typst using typst-lsp before extensions had support for lsps, but I don't have much experience with tree-sitter and scm files, they are mostly ported over from this repository and are incomplete.
There are some builtin extensions with the new lsp support, they are a good reference I think the lsp part is identical, there's an extension guide and there are some helpful doc comments, I'm not sure if the extension should live there with the builtin extensions or here in the editors folder (I'm leaning towards here, but I'm not even sure how it would work with as extensions are added to the index as a git submodule, and submodules cannot only contain a specific folder from a repository...).
Currently zed lacks pdf support, and it's a bit hard to implement due to it also not supporting webviews, I have a rough plan for adding support for it with os pdf apis, but I don't think it's a blocker using typst watch and a browser window is a good stopgap.

Edit: There's also https://codeberg.org/WeetHet/typst.zed/ based on tinymist if anyone is looking for an extension, and I personally have less interest in this issue now

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