Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
languages: Capture escape sequences in C and C++ (#46116)
ozacodc7c0f560b89f
diff --git a/crates/languages/src/c/highlights.scm b/crates/languages/src/c/highlights.scmindex 46c970e69d9..2798bc7734f 100644--- a/crates/languages/src/c/highlights.scm+++ b/crates/languages/src/c/highlights.scm@@ -98,6 +98,8 @@(char_literal)] @string+(escape_sequence) @string.escape+(comment) @comment(number_literal) @numberdiff --git a/crates/languages/src/cpp/highlights.scm b/crates/languages/src/cpp/highlights.scmindex af906e67122..44631ca0e0e 100644--- a/crates/languages/src/cpp/highlights.scm+++ b/crates/languages/src/cpp/highlights.scm@@ -198,6 +198,8 @@ type: (primitive_type) @type.builtin(raw_string_literal)] @string+(escape_sequence) @string.escape+[","":"