internal/filesystem: Account for case-insensitive filesystems #796
Labels
bug
Something isn't working
text-synchronization
https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocum
This was discovered during #771 but the problem existed prior to that PR and the PR isn't addressing it in any way.
terraform-ls/internal/filesystem/filesystem.go
Lines 210 to 238 in 6659c80
Background
Case-insensitive filesystems are relatively common (default) on Windows. They are however also commonly case-preserving. And given that it's (often? #75 ) the same OS running the client and the server, it is unlikely that we'd end up with two files which only differ in casing. That is likely why this never came up before.
Proposal
Related: spf13/afero#126
The text was updated successfully, but these errors were encountered: