Problem
C++ projects commonly use header file extensions like .hpp, .hh, .hxx, and .h++ in addition to the standard .h extension. These are already supported by the clangd LSP server and clang-format formatter, but they're not currently mapped in the LSP language detection system.
Solution
Map these additional C++ header file extensions to the cpp language type in LANGUAGE_EXTENSIONS so they receive proper syntax highlighting and LSP support.
Problem
C++ projects commonly use header file extensions like
.hpp,.hh,.hxx, and.h++in addition to the standard.hextension. These are already supported by the clangd LSP server and clang-format formatter, but they're not currently mapped in the LSP language detection system.Solution
Map these additional C++ header file extensions to the
cpplanguage type inLANGUAGE_EXTENSIONSso they receive proper syntax highlighting and LSP support.