Open MohamedBannona opened 1 month ago
In the next release I'm going to improve the error message for this. Can you show me the updated error message when that happens?
D:/Mopr/test is project root
LSP[luau-lsp]: Error INVALID_SERVER_MESSAGE: {
error = {
code = -32603,
message = "isIgnoredFile failed: relative path is default-constructed when constructing d:/Mopr/test/src/Server/Main.server.luau against D:/Mopr/test"
},
jsonrpc = "2.0"
}
Ah the age-old problem of case sensitivity of the drive letter. It seems that Neovim uses a capital letter while VSCode uses lowercase (for some historic reasons apparently)
We need to normalise the case letter here.
I'm not sure this happens cause of the sourcemap, but I did some tests and I only get this error in scripts included in the sourcemap, maybe because I'm using argon.