Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
typescript: Use @type instead of @type.builtin in highlights (#46068)
Gaauwe Romboutse7474cebc509
diff --git a/crates/languages/src/javascript/highlights.scm b/crates/languages/src/javascript/highlights.scmindex d13db50e2ef..cb94f24ea22 100644--- a/crates/languages/src/javascript/highlights.scm+++ b/crates/languages/src/javascript/highlights.scm@@ -4,9 +4,9 @@(call_expressionfunction: (member_expression- object: (identifier) @type.builtin+ object: (identifier) @type(#any-of?- @type.builtin+ @type"Promise""Array""Object"diff --git a/crates/languages/src/tsx/highlights.scm b/crates/languages/src/tsx/highlights.scmindex 83ed6d18d74..9a265b0f799 100644--- a/crates/languages/src/tsx/highlights.scm+++ b/crates/languages/src/tsx/highlights.scm@@ -4,9 +4,9 @@(call_expressionfunction: (member_expression- object: (identifier) @type.builtin+ object: (identifier) @type(#any-of?- @type.builtin+ @type"Promise""Array""Object"diff --git a/crates/languages/src/typescript/highlights.scm b/crates/languages/src/typescript/highlights.scmindex f5736f4271f..2e26e25bf79 100644--- a/crates/languages/src/typescript/highlights.scm+++ b/crates/languages/src/typescript/highlights.scm@@ -4,9 +4,9 @@(call_expressionfunction: (member_expression- object: (identifier) @type.builtin+ object: (identifier) @type(#any-of?- @type.builtin+ @type"Promise""Array""Object"