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.

chore: added inl to cpp config (#12710)

Dhairya Nadapara0b75afd3220b
diff --git a/assets/icons/file_icons/file_types.json b/assets/icons/file_icons/file_types.json
index bbbf20ef2f8..eb1d03f4b1c 100644
--- a/assets/icons/file_icons/file_types.json
+++ b/assets/icons/file_icons/file_types.json
@@ -74,6 +74,7 @@
"ib": "storage",
"ico": "image",
"ini": "settings",
+ "inl": "cpp",
"j2k": "image",
"java": "java",
"jfif": "image",
diff --git a/crates/languages/src/cpp/config.toml b/crates/languages/src/cpp/config.toml
index 5e118059d60..b8e63fc469e 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"]
+path_suffixes = ["cc", "hh", "cpp", "h", "hpp", "cxx", "hxx", "c++", "ipp", "inl"]
line_comments = ["// "]
autoclose_before = ";:.,=}])>"
brackets = [