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.

Fix regex search colors (#25962)

Conrad Irwin6faa7cd72204
diff --git a/crates/languages/src/regex/highlights.scm b/crates/languages/src/regex/highlights.scm
index d1ebcda0d3a..2504dab79ea 100644
--- a/crates/languages/src/regex/highlights.scm
+++ b/crates/languages/src/regex/highlights.scm
@@ -9,7 +9,7 @@
"]"
"{"
"}"
-] @punctuation.bracket
+] @string
(group_name) @property
@@ -31,6 +31,7 @@
"|"
"="
"!"
+ (any_character)
] @operator
(count_quantifier
@@ -44,7 +45,3 @@
"^" @operator
(class_range "-" @operator)
])
-
-(class_character) @constant.character
-
-(pattern_character) @string