From 00a8659491a26bcd8d4e77dfdd8e71093e21a6d8 Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Mon, 25 Mar 2024 12:23:09 -0700 Subject: [PATCH] More C++ path suffixes (#9761) There is also `.C` and `.H` (capital), but I can't imagine they are very popular and I'd be worried clashing with C. Release Notes: - Added more path suffixes recognized as C++ --- crates/languages/src/cpp/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/languages/src/cpp/config.toml b/crates/languages/src/cpp/config.toml index eecb09bc20..5e118059d6 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", "cpp", "h", "hpp", "cxx", "hxx", "inl"] +path_suffixes = ["cc", "hh", "cpp", "h", "hpp", "cxx", "hxx", "c++", "ipp"] line_comments = ["// "] autoclose_before = ";:.,=}])>" brackets = [