mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-09-29 01:41:42 +00:00
fix(scala): add entryPointPatterns and astFrameworkPatterns to provider
Required by the LanguageProvider consolidation in the scaffolding PR. Scala entry-point pattern: main function.
This commit is contained in:
parent
0a1948a758
commit
c455e2fdd9
1 changed files with 2 additions and 0 deletions
|
|
@ -55,6 +55,8 @@ const BUILT_INS: ReadonlySet<string> = new Set([
|
|||
export const scalaProvider = defineLanguage({
|
||||
id: SupportedLanguages.Scala,
|
||||
extensions: ['.scala', '.sc'],
|
||||
entryPointPatterns: [/^main$/],
|
||||
astFrameworkPatterns: [],
|
||||
treeSitterQueries: SCALA_QUERIES,
|
||||
typeConfig: scalaConfig,
|
||||
exportChecker: scalaExportChecker,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue