Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

docs: Add missing syntax highlighting captures (#47791)

Alfredo Menezes3a1f4776d46a
diff --git a/docs/src/extensions/languages.md b/docs/src/extensions/languages.md
index 8bbf3d88108..b8df7794f25 100644
--- a/docs/src/extensions/languages.md
+++ b/docs/src/extensions/languages.md
@@ -99,6 +99,7 @@ This query marks strings, object keys, and numbers for highlighting. The followi
| @comment | Captures comments |
| @comment.doc | Captures documentation comments |
| @constant | Captures constants |
+| @constant.builtin | Captures built-in constants |
| @constructor | Captures constructors |
| @embedded | Captures embedded content |
| @emphasis | Captures emphasized text |
@@ -131,8 +132,10 @@ This query marks strings, object keys, and numbers for highlighting. The followi
| @text.literal | Captures literal text |
| @title | Captures titles |
| @type | Captures types |
+| @type.builtin | Captures built-in types |
| @variable | Captures variables |
| @variable.special | Captures special variables |
+| @variable.parameter | Captures function/method parameters |
| @variant | Captures variants |
### Bracket matching