From 0b75afd3220b1520eab3d2f7ee6eaf20baf429a1 Mon Sep 17 00:00:00 2001 From: Dhairya Nadapara Date: Thu, 6 Jun 2024 12:53:36 +0530 Subject: [PATCH] chore: added inl to cpp config (#12710) Screenshot: image Release Notes: - Added `inl` to cpp config ([12605](https://github.com/zed-industries/zed/issues/12605)) --- assets/icons/file_icons/file_types.json | 1 + crates/languages/src/cpp/config.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/icons/file_icons/file_types.json b/assets/icons/file_icons/file_types.json index bbbf20ef2f..eb1d03f4b1 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 5e118059d6..b8e63fc469 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 = [