Skip to content

Commit

Permalink
fix settings
Browse files Browse the repository at this point in the history
  • Loading branch information
DetachHead committed Aug 5, 2024
1 parent 997f404 commit efedddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/LspClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class LspClient {
}
},
initializationOptions: {
files: {[rootPath + fileName]: this._documentText, [rootPath+'pyrightconfig.json']: JSON.stringify({typeshedPath: '/typeshed'})}
files: {[rootPath + fileName]: this._documentText, [rootPath+'pyrightconfig.json']: JSON.stringify({typeshedPath: '/typeshed', ...sessionOptions, ...sessionOptions.configOverrides})}
}
};

Expand Down

0 comments on commit efedddd

Please sign in to comment.