Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
languages: Change syntax highlighting for C/C++ preprocessor directives (#48109)
ozacod61e575547c2f
diff --git a/crates/languages/src/c/highlights.scm b/crates/languages/src/c/highlights.scmindex 0ba43f2f7c6..e426bd4f904 100644--- a/crates/languages/src/c/highlights.scm+++ b/crates/languages/src/c/highlights.scm@@ -38,7 +38,7 @@"#ifndef""#include"(preproc_directive)-] @keyword.directive+] @preproc["="diff --git a/crates/languages/src/cpp/highlights.scm b/crates/languages/src/cpp/highlights.scmindex 234605409c1..dbb79e69b04 100644--- a/crates/languages/src/cpp/highlights.scm+++ b/crates/languages/src/cpp/highlights.scm@@ -186,7 +186,7 @@ type: (primitive_type) @type.builtin"#ifndef""#include"(preproc_directive)-] @keyword.directive+] @preproc(comment) @comment