Skip to content

Commit 4111ff1

Browse files
authored
add: c++ extension to cpp known extensions 🔨 (#54)
1 parent af29ab4 commit 4111ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CodeEditLanguages/CodeLanguage+Definitions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public extension CodeLanguage {
6868
static let cpp: CodeLanguage = .init(
6969
id: .cpp,
7070
tsName: "cpp",
71-
extensions: ["cc", "cpp", "hpp", "h"],
71+
extensions: ["cc", "cpp", "c++", "hpp", "h"],
7272
parentURL: CodeLanguage.c.queryURL,
7373
highlights: ["injections"]
7474
)

0 commit comments

Comments
 (0)