Rename extension id to djot-php for registry submission - #2
Merged
Merged
Conversation
The registry id 'djot' is already taken by nzoschke/zed-djot, and ids must be unique and immutable once published. Use 'djot-php' (name 'Djot (PHP)') to signal this is the variant tuned to the djot-php parser. The internal language name (config.toml) and grammar key stay 'Djot'/'djot' since they identify the parsed language, not the registry extension.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prep for submitting to the official Zed extension registry.
Why
The registry requires a unique extension id, and ids are immutable once published. The id
djotis already taken bynzoschke/zed-djotin the registry, so this extension cannot publish under it.Change
Rename the registry identity in
extension.toml:id:djot->djot-phpname:Djot->Djot (PHP)The
djot-phpid signals this is the variant tuned to thephp-collective/djot-phpparser feature set.Scope
extension.tomlonly. The internal language name (languages/djot/config.toml->name = "Djot") and the grammar key ([grammars.djot]) are deliberately unchanged — they identify the parsed language and tree-sitter grammar, not the registry extension. File associations and.djothandling are unaffected.Next steps (not in this PR)
zed-industries/extensions: add this repo as a git submodule underextensions/, add anextensions.tomlentry, run the sort step, open the PR.