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 @@
1name = "C++"1name = "C++"
2grammar = "cpp"2grammar = "cpp"
3path_suffixes = ["cc", "cpp", "h", "hpp", "cxx", "hxx", "inl"]3path_suffixes = ["cc", "hh", "cpp", "h", "hpp", "cxx", "hxx", "c++", "ipp"]
4line_comments = ["// "]4line_comments = ["// "]
5autoclose_before = ";:.,=}])>"5autoclose_before = ";:.,=}])>"
6brackets = [6brackets = [