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