diff --git a/gitnexus-shared/src/language-detection.ts b/gitnexus-shared/src/language-detection.ts index d31f9d58d..b12b53a8d 100644 --- a/gitnexus-shared/src/language-detection.ts +++ b/gitnexus-shared/src/language-detection.ts @@ -41,6 +41,7 @@ const EXTENSION_MAP: Record = { [SupportedLanguages.Kotlin]: ['.kt', '.kts'], [SupportedLanguages.Swift]: ['.swift'], [SupportedLanguages.Dart]: ['.dart'], + [SupportedLanguages.Lua]: ['.lua'], [SupportedLanguages.Vue]: ['.vue'], [SupportedLanguages.Cobol]: ['.cbl', '.cob', '.cpy', '.cobol'], } satisfies Record; // Ensure exhaustiveness @@ -99,6 +100,7 @@ const SYNTAX_MAP: Record = { [SupportedLanguages.Kotlin]: 'kotlin', [SupportedLanguages.Swift]: 'swift', [SupportedLanguages.Dart]: 'dart', + [SupportedLanguages.Lua]: 'lua', [SupportedLanguages.Vue]: 'typescript', [SupportedLanguages.Cobol]: 'cobol', } satisfies Record; // Ensure exhaustiveness diff --git a/gitnexus-shared/src/languages.ts b/gitnexus-shared/src/languages.ts index 29edb8d1e..7deb3a220 100644 --- a/gitnexus-shared/src/languages.ts +++ b/gitnexus-shared/src/languages.ts @@ -20,6 +20,7 @@ export enum SupportedLanguages { Swift = 'swift', Dart = 'dart', Vue = 'vue', + Lua = 'lua', /** Standalone regex processor — no tree-sitter, no LanguageProvider. */ Cobol = 'cobol', } diff --git a/gitnexus-shared/src/scope-resolution/language-classification.ts b/gitnexus-shared/src/scope-resolution/language-classification.ts index 10c556cda..9f02800f9 100644 --- a/gitnexus-shared/src/scope-resolution/language-classification.ts +++ b/gitnexus-shared/src/scope-resolution/language-classification.ts @@ -39,6 +39,7 @@ export const LanguageClassifications: Readonly