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.

languages: Remove duplicate keywords in TSX syntax highlighting (#48196)

Kunall Banerjee477069ef62e5
diff --git a/crates/languages/src/tsx/highlights.scm b/crates/languages/src/tsx/highlights.scm
index 0f14438b94a..1339baabf25 100644
--- a/crates/languages/src/tsx/highlights.scm
+++ b/crates/languages/src/tsx/highlights.scm
@@ -262,6 +262,7 @@
] @operator
)
+; Keywords
[
"abstract"
"as"
@@ -383,24 +384,7 @@
":"
]) @punctuation.special)
-; Keywords
-[ "abstract"
- "declare"
- "enum"
- "export"
- "implements"
- "interface"
- "keyof"
- "module"
- "namespace"
- "private"
- "protected"
- "public"
- "type"
- "readonly"
- "override"
-] @keyword
(jsx_opening_element
[