Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Improve C and C++ syntax highlighting (#25325)
chbk144d8a1db6ec
diff --git a/crates/languages/src/c/highlights.scm b/crates/languages/src/c/highlights.scmindex ef15a4b3453..b80c462ae6d 100644--- a/crates/languages/src/c/highlights.scm+++ b/crates/languages/src/c/highlights.scm@@ -104,7 +104,7 @@(false)] @boolean-(null) @constant+(null) @constant.builtin(identifier) @variablediff --git a/crates/languages/src/cpp/highlights.scm b/crates/languages/src/cpp/highlights.scmindex 2a8235de1fa..b05e8cd6f97 100644--- a/crates/languages/src/cpp/highlights.scm+++ b/crates/languages/src/cpp/highlights.scm@@ -158,7 +158,7 @@ type :(primitive_type) @type.primitive[(null)("nullptr")-] @constant+] @constant.builtin(number_literal) @number