Skip to content

Conversation

@claytonrcarter
Copy link
Contributor

@claytonrcarter claytonrcarter commented Oct 11, 2025

This tells Zed that this is not a "real" language: it should only be used for syntax highlighting and does not provide any language features like syntax, comment chars, etc. In my (brief) testing, it fixed the issues we saw in #3 without needing any changes to Zed. I tested this in Rust, and also in some PHP files.

hidden itself seems to be "hidden" in the docs, but the code explains this: https://github.com/zed-industries/zed/blob/d4b5bb9f173d78d5795387269edc68f979024898/crates/language/src/language.rs#L764-L767. It's used in "lanugages" like jsdoc and phpdoc

Fixes #3

This tells Zed that this is not a "real" language and is only used for syntax
highlighting.

Fixes thedadams#3
Ref https://github.com/zed-industries/zed/blob/d4b5bb9f173d78d5795387269edc68f979024898/crates/language/src/language.rs#L764-L767
@thedadams thedadams merged commit 39accd6 into thedadams:main Oct 11, 2025
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.

breaks editor features

2 participants