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.

Recognize Cuda files as C++ (#16098)

Athish Pranav Dd4761a32965e
diff --git a/crates/languages/src/cpp/config.toml b/crates/languages/src/cpp/config.toml
index b8e63fc469e..f9e7a26818b 100644
--- a/crates/languages/src/cpp/config.toml
+++ b/crates/languages/src/cpp/config.toml
@@ -1,6 +1,6 @@
name = "C++"
grammar = "cpp"
-path_suffixes = ["cc", "hh", "cpp", "h", "hpp", "cxx", "hxx", "c++", "ipp", "inl"]
+path_suffixes = ["cc", "hh", "cpp", "h", "hpp", "cxx", "hxx", "c++", "ipp", "inl", "cu", "cuh"]
line_comments = ["// "]
autoclose_before = ";:.,=}])>"
brackets = [