Closed Ketasaja closed 4 months ago
The underlying cause seems to be the interesting sourcemap, where the filepath for code
is stored as "directory/../server\\code\\init.luau
. This causes us to fail to match the "real path" of this file with the path that VSCode understands (because we don't normalise it correctly). That is a bug, thanks for the report!
Curious why your project.json is configured to do it like this, seems odd.
Reproduction for post-1.29.1 0ebfa54: luau-lsp_#645_reproduction.zip
aftman install
.server/code/init.lua
, on line 2, start typingautocomplete
.autocomplete
again.autocomplete
again.sourcemap.json
: