zed/extensions/html
Brett Schneider d54a262436
languages: Add syntax highlighting for HTML character references (#48629)
HTML character references like `·`, `'`, and `{` are
correctly parsed by tree-sitter as named nodes
(`html_character_reference` in TSX/JavaScript, `entity` in HTML), but no
highlight query captures them. This means they render as plain,
unhighlighted text in the editor.

This PR adds one-line highlight captures for each:

- **TSX** (`crates/languages/src/tsx/highlights.scm`):
`(html_character_reference) @string.special`
- **JavaScript** (`crates/languages/src/javascript/highlights.scm`):
`(html_character_reference) @string.special`
- **HTML** (`extensions/html/languages/html/highlights.scm`): `(entity)
@string.special`

`@string.special` is already styled by all built-in themes (One Dark,
Ayu, Gruvbox, etc.), so no theme changes are needed.

Release Notes:

- Added syntax highlighting for HTML character references (`·`,
`'`, `{`, etc.) in TSX, JavaScript, and HTML files.
2026-02-22 23:40:18 -05:00
..
languages/html languages: Add syntax highlighting for HTML character references (#48629) 2026-02-22 23:40:18 -05:00
src Fix path for vscode-html-language-server when found on PATH (#40832) 2025-10-22 22:44:25 -04:00
Cargo.toml html: Bump to v0.3.0 (#44865) 2025-12-15 11:50:44 +00:00
extension.toml html: Bump to v0.3.0 (#44865) 2025-12-15 11:50:44 +00:00
LICENSE-APACHE Extract HTML support into an extension (#10130) 2024-04-03 12:42:36 -04:00