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++
This commit is contained in:
Ezekiel Warren 2024-03-25 12:23:09 -07:00 committed by GitHub
parent 4789c02a19
commit 00a8659491
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,6 @@
name = "C++" name = "C++"
grammar = "cpp" grammar = "cpp"
path_suffixes = ["cc", "cpp", "h", "hpp", "cxx", "hxx", "inl"] path_suffixes = ["cc", "hh", "cpp", "h", "hpp", "cxx", "hxx", "c++", "ipp"]
line_comments = ["// "] line_comments = ["// "]
autoclose_before = ";:.,=}])>" autoclose_before = ";:.,=}])>"
brackets = [ brackets = [