Skip to content

fix(zed): register LSP for JSON language (package.json support)#6

Merged
bug-ops merged 1 commit intomainfrom
fix/zed-json-language-support
Dec 22, 2025
Merged

fix(zed): register LSP for JSON language (package.json support)#6
bug-ops merged 1 commit intomainfrom
fix/zed-json-language-support

Conversation

@bug-ops
Copy link
Owner

@bug-ops bug-ops commented Dec 22, 2025

Summary

Fixes package.json not being handled by deps-lsp in Zed.

Problem

The extension was only registered for TOML language, so package.json files were being handled by the default package-version-server instead of deps-lsp.

Solution

Added JSON to the languages list in extension.toml:

languages = ["TOML", "JSON"]

Now deps-lsp will activate for both Cargo.toml and package.json files.

@github-actions github-actions bot added needs-review Needs review wasm WebAssembly/WASM changes size: XS <10 lines changed labels Dec 22, 2025
@bug-ops bug-ops merged commit 218af74 into main Dec 22, 2025
16 checks passed
@bug-ops bug-ops deleted the fix/zed-json-language-support branch December 22, 2025 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-review Needs review size: XS <10 lines changed wasm WebAssembly/WASM changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant