Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Move @punctuation.delimiter before @operator capture (#41663)
Dijana Pavlovic04e53bff3d96
diff --git a/crates/languages/src/typescript/highlights.scm b/crates/languages/src/typescript/highlights.scmindex 8a85dfea07f..6474ba2a05a 100644--- a/crates/languages/src/typescript/highlights.scm+++ b/crates/languages/src/typescript/highlights.scm@@ -121,6 +121,15 @@; Tokens+[+ ";"+ "?."+ "."+ ","+ ":"+ "?"+] @punctuation.delimiter+["...""-"@@ -179,15 +188,6 @@] @operator)-[- ";"- "?."- "."- ","- ":"- "?"-] @punctuation.delimiter-["("")"