Skip to content

Commit

Permalink
Add more C++ extensions for AST parser (#972)
Browse files Browse the repository at this point in the history
  • Loading branch information
sr-tream authored Mar 17, 2024
1 parent 8460abb commit fbca1f8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions core/util/treeSitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fbca1f8

Please sign in to comment.