Skip to content

Add Duso language support#5174

Open
davebalmer wants to merge 10 commits into
zed-industries:mainfrom
davebalmer:main
Open

Add Duso language support#5174
davebalmer wants to merge 10 commits into
zed-industries:mainfrom
davebalmer:main

Conversation

@davebalmer

Copy link
Copy Markdown
  • LSP
  • syntax highlighting

- LSP
- syntax highlighting
@cla-bot

cla-bot Bot commented Mar 10, 2026

Copy link
Copy Markdown

We require contributors to sign our Contributor License Agreement, and we don't have @davebalmer on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@davebalmer

Copy link
Copy Markdown
Author

@cla-bot check

@cla-bot

cla-bot Bot commented Mar 10, 2026

Copy link
Copy Markdown

We require contributors to sign our Contributor License Agreement, and we don't have @davebalmer on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@cla-bot

cla-bot Bot commented Mar 10, 2026

Copy link
Copy Markdown

The cla-bot has been summoned, and re-checked this pull request!

@davebalmer

Copy link
Copy Markdown
Author

@cla-bot check

@cla-bot

cla-bot Bot commented Mar 10, 2026

Copy link
Copy Markdown

We require contributors to sign our Contributor License Agreement, and we don't have @davebalmer on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@cla-bot

cla-bot Bot commented Mar 10, 2026

Copy link
Copy Markdown

The cla-bot has been summoned, and re-checked this pull request!

@davebalmer

Copy link
Copy Markdown
Author

@cla-bot check

@cla-bot cla-bot Bot added the cla-signed label Mar 10, 2026
@cla-bot

cla-bot Bot commented Mar 10, 2026

Copy link
Copy Markdown

The cla-bot has been summoned, and re-checked this pull request!

@MrSubidubi MrSubidubi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please

  • use the Worktree::which API to look for the Duso LSP binary and return an error if the binary cannot be found
  • remove the grammars directory, as this should not be part of the extension here.

@davebalmer

davebalmer commented Mar 11, 2026

Copy link
Copy Markdown
Author

OK I will address these. Sorry I missed them. thank you!

BTW I saw the CLI fail, missing license. Weird my LICENSE file is Apache 2.0 what am I missing? https://github.com/duso-org/duso-zed/blob/main/LICENSE thanks again!

@davebalmer
davebalmer requested a review from MrSubidubi March 11, 2026 07:57
@davebalmer

Copy link
Copy Markdown
Author

Hopefully the changes work. Please let me know. This is my first time making an extension for Zed 😁

@davebalmer

Copy link
Copy Markdown
Author

Hi! Just checking back in. @MrSubidubi Have you had a chance to review my changes? Thanks!

@MrSubidubi MrSubidubi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay, fine as-is now. Thanks!

@MrSubidubi MrSubidubi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah or maybe not quite. Your extension is missing a license. See https://zed.dev/docs/extensions/developing-extensions#extension-license-requirements for a list of accepted license and more information on this.

@MrSubidubi MrSubidubi added the missing-license The extension is missing a compatible license label Apr 12, 2026
@davebalmer

Copy link
Copy Markdown
Author

@MrSubidubi Thanks! Weird though. It was in Apache 2.0 but I had cleaned up the formatting a bit for markdown. Maybe the detection requires exact match. I reverted back to the original txt version from Apache org, hopefully it'll pass now. It's in the file LICENSE and the copyright boilerplate was updated in the README.md to exactly what Apache recommends. Let me know if there's something else needs doing. 😊

@MrSubidubi

Copy link
Copy Markdown
Member

I made the detection a bit less prone to alternative formattings recently, but well, maybe was not sufficient here.

Otherwise, could you please update the submodule to the commit I should look at?

@davebalmer

Copy link
Copy Markdown
Author

Sorry, what else needs to be done? I'm a little lost. I thought the holdup was the license, but I replaced it with a fresh Apache 2.0. Am I missing something? 😅

@davebalmer

Copy link
Copy Markdown
Author

@MrSubidubi Sorry, which commit in the duso repo should I update the submodule to point at?

@MrSubidubi

Copy link
Copy Markdown
Member

Whatever you feel like, latest is just fine but optimally one that includes the license

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed missing-license The extension is missing a compatible license needs author action

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants