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.

Make highlighting of C preprocessing directive same as C++ (#44043)

lipcut9857fd233dc2
diff --git a/crates/languages/src/c/highlights.scm b/crates/languages/src/c/highlights.scm
index 40e0d7147e9..46c970e69d9 100644
--- a/crates/languages/src/c/highlights.scm
+++ b/crates/languages/src/c/highlights.scm
@@ -36,7 +36,7 @@
"#ifndef"
"#include"
(preproc_directive)
-] @keyword
+] @keyword.directive
[
"="