mirror of
https://github.com/morluto/rea.git
synced 2026-11-11 09:21:16 +00:00
fix(reference-source): recognize Kotlin files in imported inventories
Classify .kt and .kts at the source owner so imported entries and historical language summaries preserve Kotlin identity. Validation: production inventory projection covers Kotlin, Gradle script, Java and backup-suffix controls. Based on #3224. Co-authored-by: Aurantium <280805072+Aurantium-47@users.noreply.github.com>
This commit is contained in:
1 parent
576b58cefe
commit
03ffb2c13d
2 files changed
+64
No files matched your search
@@ -27,6 +27,8 @@ const CODE_EXTENSIONS = new Set([
|
||||
"rs",
|
||||
"go",
|
||||
"java",
|
||||
"kt",
|
||||
"kts",
|
||||
"c",
|
||||
"h",
|
||||
"cpp",
|
||||
@@ -54,6 +56,8 @@ const LANGUAGE_BY_EXTENSION = new Map<string, string>([
|
||||
["rs", "Rust"],
|
||||
["go", "Go"],
|
||||
["java", "Java"],
|
||||
["kt", "Kotlin"],
|
||||
["kts", "Kotlin"],
|
||||
["c", "C"],
|
||||
["h", "C"],
|
||||
["cpp", "C++"],
|
||||
|
||||
Reference in new issue
Block a user