Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Recognize ixx as part of the cpp suffix (#26333)
Devzeth84fe1bfe9b11
diff --git a/crates/languages/src/cpp/config.toml b/crates/languages/src/cpp/config.tomlindex 6aba8727f3b..ebd78870a29 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", "cu", "cuh", "C", "H"]+path_suffixes = ["cc", "hh", "cpp", "h", "hpp", "cxx", "hxx", "c++", "ipp", "inl", "ixx", "cu", "cuh", "C", "H"]line_comments = ["// ", "/// ", "//! "]autoclose_before = ";:.,=}])>"brackets = [diff --git a/crates/theme/src/icon_theme.rs b/crates/theme/src/icon_theme.rsindex 637e41a5863..725fc3409c2 100644--- a/crates/theme/src/icon_theme.rs+++ b/crates/theme/src/icon_theme.rs@@ -85,7 +85,7 @@ const FILE_SUFFIXES_BY_ICON_KEY: &[(&str, &[&str])] = &[("coffeescript", &["coffee"]),("cpp",- &["c++", "cc", "cpp", "cxx", "hh", "hpp", "hxx", "inl"],+ &["c++", "cc", "cpp", "cxx", "hh", "hpp", "hxx", "inl", "ixx"],),("crystal", &["cr", "ecr"]),("csharp", &["cs"]),