Skip to content

Commit 84fe1bf

Browse files
authored
Recognize ixx as part of the cpp suffix (#26333)
Adds "ixx" as path suffix to be recognized for c++. > ixx documentation https://learn.microsoft.com/en-us/cpp/cpp/modules-cpp?view=msvc- I've also added it to the icon file. Release Notes: - N/A
1 parent 657d7a9 commit 84fe1bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/languages/src/cpp/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "C++"
22
grammar = "cpp"
3-
path_suffixes = ["cc", "hh", "cpp", "h", "hpp", "cxx", "hxx", "c++", "ipp", "inl", "cu", "cuh", "C", "H"]
3+
path_suffixes = ["cc", "hh", "cpp", "h", "hpp", "cxx", "hxx", "c++", "ipp", "inl", "ixx", "cu", "cuh", "C", "H"]
44
line_comments = ["// ", "/// ", "//! "]
55
autoclose_before = ";:.,=}])>"
66
brackets = [

crates/theme/src/icon_theme.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const FILE_SUFFIXES_BY_ICON_KEY: &[(&str, &[&str])] = &[
8585
("coffeescript", &["coffee"]),
8686
(
8787
"cpp",
88-
&["c++", "cc", "cpp", "cxx", "hh", "hpp", "hxx", "inl"],
88+
&["c++", "cc", "cpp", "cxx", "hh", "hpp", "hxx", "inl", "ixx"],
8989
),
9090
("crystal", &["cr", "ecr"]),
9191
("csharp", &["cs"]),

0 commit comments

Comments
 (0)