You need to send the DataModel information to your IDE, in order for your language server to obtain its types. The Luau-LSP extension comes with a companion plugin which does exactly this, where it connects to the VSCode extension and transfers the DataModel information.
5 Likes