feat: add Lua and Luau language support (#273)
Adds Lua (.lua) and Luau (.luau) extraction — functions, methods with receivers, type aliases (Luau), require imports (incl. Roblox instance-path), and call edges. Vendors the ABI-15 Lua and ABI-14 Luau tree-sitter grammars. Addresses #232.
This commit is contained in:
@@ -85,6 +85,8 @@ export const LANGUAGES = [
|
||||
'liquid',
|
||||
'pascal',
|
||||
'scala',
|
||||
'lua',
|
||||
'luau',
|
||||
'unknown',
|
||||
] as const;
|
||||
|
||||
@@ -545,6 +547,10 @@ export const DEFAULT_CONFIG: CodeGraphConfig = {
|
||||
// Scala
|
||||
'**/*.scala',
|
||||
'**/*.sc',
|
||||
// Lua
|
||||
'**/*.lua',
|
||||
// Luau
|
||||
'**/*.luau',
|
||||
],
|
||||
exclude: [
|
||||
// Version control
|
||||
|
||||
Reference in New Issue
Block a user