Skip to content

✨ feat: add Zed editor extension#1217

Merged
harehare merged 8 commits intomainfrom
feat/support-zed
Feb 4, 2026
Merged

✨ feat: add Zed editor extension#1217
harehare merged 8 commits intomainfrom
feat/support-zed

Conversation

@harehare
Copy link
Copy Markdown
Owner

@harehare harehare commented Feb 4, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 4, 2026 12:30
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a Zed editor extension to provide language support for mq, including syntax highlighting via Tree-sitter, LSP integration with auto-download functionality, and editor configuration for .mq files.

Changes:

  • Adds Zed extension implementation with automatic LSP binary management
  • Configures Tree-sitter grammar integration and syntax highlighting rules
  • Includes documentation and build configuration for the extension

Reviewed changes

Copilot reviewed 10 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
editors/zed/src/lib.rs Core extension logic for LSP binary detection, download, and lifecycle management
editors/zed/languages/mq/indents.scm Tree-sitter indentation rules for mq language constructs
editors/zed/languages/mq/highlights.scm Syntax highlighting definitions for keywords, operators, and language elements
editors/zed/languages/mq/config.toml Language configuration including brackets, comments, and file associations
editors/zed/grammars/mq Git submodule reference to tree-sitter-mq grammar
editors/zed/extension.toml Extension metadata and configuration for Zed marketplace
editors/zed/README.md User documentation for installation and usage
editors/zed/Cargo.toml Rust package configuration for the extension
editors/zed/.gitignore Exclusions for generated files
Cargo.toml Workspace member addition for the Zed extension

Copilot AI review requested due to automatic review settings February 4, 2026 12:36
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.

Copilot AI review requested due to automatic review settings February 4, 2026 12:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 9 out of 10 changed files in this pull request and generated 1 comment.

Copilot AI review requested due to automatic review settings February 4, 2026 13:31
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 12 out of 14 changed files in this pull request and generated 1 comment.


[grammars.mq]
repository = "https://github.com/harehare/tree-sitter-mq"
commit = "main"
Copy link

Copilot AI Feb 4, 2026

Choose a reason for hiding this comment

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

The grammar is pinned to the 'main' branch which is not a stable reference and may break if the tree-sitter-mq repository changes. Consider pinning to a specific commit hash or tag instead to ensure reproducible builds.

Suggested change
commit = "main"
# Pinned to a specific commit for reproducible builds. Update when upgrading the grammar.
commit = "0123456789abcdef0123456789abcdef01234567"

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings February 4, 2026 13:35
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 12 out of 14 changed files in this pull request and generated no new comments.

@harehare harehare merged commit e4b7216 into main Feb 4, 2026
6 checks passed
@harehare harehare deleted the feat/support-zed branch February 4, 2026 13:50
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

Successfully merging this pull request may close these issues.

2 participants