# docs: Add missing syntax highlighting captures \(\#47791\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/3a1f4776d46a02873762bc95a38a7b816c851d48)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 3a1f4776d46a02873762bc95a38a7b816c851d48

Requested commit: 3a1f4776d46a02873762bc95a38a7b816c851d48

Commit: 3a1f4776d46a02873762bc95a38a7b816c851d48

Tree: 362571c6f24057e8af2075db79601a3c4bb3af77

Author: Alfredo Menezes

Committer: GitHub

## Message

```
docs: Add missing syntax highlighting captures (#47791)

## Summary

Adds three syntax highlighting captures that are used across multiple
language definitions but were missing from the documentation table in
`docs/src/extensions/languages.md`.

## Added Captures

| Capture | Used In |
|---------|---------|
| `@constant.builtin` | C, Go, C++, YAML, TSX |
| `@type.builtin` | C++, Python, Rust, JavaScript, TSX |
| `@variable.parameter` | TypeScript, JavaScript, Python, Rust, TSX,
Diff |

## Context

While working on a [PR to add named argument highlighting to the PHP
extension](https://github.com/zed-extensions/php/pull/95), I initially
used `@label` because the documentation didn't list
`@variable.parameter`. A reviewer pointed out that `@variable.parameter`
is actually supported and preferred - the docs were just outdated.

This PR fixes that documentation gap.

Release Notes:

- N/A
```

## Parents

- [3339c2d982e79c993076c20b78eb3c8cbd16fb71](https://git.cafe/gitcafe/zed/commit/3339c2d982e79c993076c20b78eb3c8cbd16fb71?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/3a1f4776d46a02873762bc95a38a7b816c851d48?format=markdown)
