diff --git a/packages/core/src/language-server/glint-language-server.ts b/packages/core/src/language-server/glint-language-server.ts index 74fa98750..e6a91ec2b 100644 --- a/packages/core/src/language-server/glint-language-server.ts +++ b/packages/core/src/language-server/glint-language-server.ts @@ -96,7 +96,10 @@ export default class GlintLanguageServer { directoryExists: this.ts.sys.directoryExists, getDirectories: this.ts.sys.getDirectories, realpath: this.ts.sys.realpath, - useCaseSensitiveFileNames: () => true, + + // A proper choice for case sensitivity impacts things like resolving + // relative paths for module specifiers for auto imports. + useCaseSensitiveFileNames: () => this.ts.sys.useCaseSensitiveFileNames, // @ts-ignore Undocumented method. getCachedExportInfoMap() {