Skip to content

Commit f416758

Browse files
committed
de-hardwire useCaseSensitiveFileNames
1 parent 6dc15df commit f416758

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/core/src/language-server/glint-language-server.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,10 @@ export default class GlintLanguageServer {
9696
directoryExists: this.ts.sys.directoryExists,
9797
getDirectories: this.ts.sys.getDirectories,
9898
realpath: this.ts.sys.realpath,
99-
useCaseSensitiveFileNames: () => true,
99+
100+
// A proper choice for case sensitivity impacts things like resolving
101+
// relative paths for module specifiers for auto imports.
102+
useCaseSensitiveFileNames: () => this.ts.sys.useCaseSensitiveFileNames,
100103

101104
// @ts-ignore Undocumented method.
102105
getCachedExportInfoMap() {

0 commit comments

Comments
 (0)