History

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++

Ezekiel Warren committed 2 years ago

Commit 00a86591 parent 4789c021 file · +1 −1Browse files

Unified · Split

crates/languages/src/cpp/config.toml+1−1
@@ -1,6 +1,6 @@
11 name = "C++"
22 grammar = "cpp"
3−path_suffixes = ["cc", "cpp", "h", "hpp", "cxx", "hxx", "inl"]
3+path_suffixes = ["cc", "hh", "cpp", "h", "hpp", "cxx", "hxx", "c++", "ipp"]
44 line_comments = ["// "]
55 autoclose_before = ";:.,=}])>"
66 brackets = [