Skip to content

Add MoonBit language support#5572

Open
Metalymph wants to merge 4 commits intozed-industries:mainfrom
Metalymph:add-moonbit-community
Open

Add MoonBit language support#5572
Metalymph wants to merge 4 commits intozed-industries:mainfrom
Metalymph:add-moonbit-community

Conversation

@Metalymph
Copy link
Copy Markdown

Adds moonbit-community, a MoonBit language extension for Zed.

Repository:
https://github.com/Metalymph/zed-moonbit

Version:
0.1.2

Features:

  • Tree-sitter-based syntax highlighting
  • MoonBit language server integration (moonbit-lsp)
  • Basic outline support
  • Bracket and indentation support

Notes:

  • moon.pkg can be associated manually via file_types in Zed settings
  • Tested locally as a dev extension

@cla-bot
Copy link
Copy Markdown

cla-bot bot commented Apr 10, 2026

We require contributors to sign our Contributor License Agreement, and we don't have @Metalymph 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'.

@Metalymph
Copy link
Copy Markdown
Author

@cla-bot check

@cla-bot cla-bot bot added the cla-signed label Apr 10, 2026
@cla-bot
Copy link
Copy Markdown

cla-bot bot commented Apr 10, 2026

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

@Metalymph
Copy link
Copy Markdown
Author

Hi! I've signed the CLA and everything should be ready. Please let me know if anything is needed.

@Metalymph
Copy link
Copy Markdown
Author

Updated this PR to MoonBit Community v0.1.3.

Changes:

  • bumped the submodule to the v0.1.3 release commit
  • updated the registry entry in extensions.toml to 0.1.3

This release includes improved syntax highlighting.

@MrSubidubi MrSubidubi changed the title Add MoonBit Community extension Add MoonBit language support Apr 12, 2026
Copy link
Copy Markdown
Member

@MrSubidubi MrSubidubi left a comment

Choose a reason for hiding this comment

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

Thanks for this!

Overall looks good, how would you feel about changing the ID to just moonbit?

Also, please remove the grammars directory, as this will cause issues otherwise. Thanks!

@Metalymph
Copy link
Copy Markdown
Author

@MrSubidubi Thanks for your kind answer and time!

Updated this PR to replace the existing MoonBit extension with the maintained one.

Changes:

  • switched the moonbit submodule to https://github.com/Metalymph/zed-moonbit
  • removed the separate moonbit-community entry
  • updated the registry version to v0.1.4
  • removed the grammars directory and renamed the extension ID to moonbit

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants