diff --git a/core/util/treeSitter.ts b/core/util/treeSitter.ts index a308cacb3a..4a54f20445 100644 --- a/core/util/treeSitter.ts +++ b/core/util/treeSitter.ts @@ -8,6 +8,14 @@ export const supportedLanguages: { [key: string]: string } = { cc: "cpp", cxx: "cpp", hxx: "cpp", + cp: "cpp", + hh: "cpp", + inc: "cpp", + // Depended on this PR: https://github.com/tree-sitter/tree-sitter-cpp/pull/173 + // ccm: "cpp", + // c++m: "cpp", + // cppm: "cpp", + // cxxm: "cpp", cs: "c_sharp", c: "c", h: "c",