Files
zed/crates
Brett Schneider c3b7a893be 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
..
2026-02-18 14:20:30 +01:00
2026-02-12 01:06:23 +00:00
2026-02-12 01:06:23 +00:00
2026-02-19 19:15:59 -05:00
2026-02-12 01:06:23 +00:00
2026-02-12 01:06:23 +00:00
2026-02-12 01:06:23 +00:00
2025-11-07 11:36:05 +00:00