最萌小汐
最萌小汐
10M is a hard limit, you can modify the source code if necessary: https://github.com/LuaLS/lua-language-server/blob/4088f567051cb83b74e95b879f0c7543930d2918/script/files.lua#L235
This is a precautionary measure. After loading a 10MB file, the language server will become very slow.
You can try modifying the restrictions yourself first.
The source code is Lua and doesn't require compilation. I've also provided you with the location, so modifying it should be straightforward. I just suggest you try it out first,...
You can find the file at (Windows) `\.vscode\extensions\sumneko.lua-3.7.0-win32-x64\server\script\files.lua`
Because I believe the correct way to do things is to first validate with a quick method and test if there are any obvious issues with the idea, and then...
Has been fixed by 7075ca19746addabc66296518a1eeafca8144723
It compiles failed, I don't know how to fix it: https://github.com/LuaLS/lua-language-server/actions/runs/8731461356/job/23956894449
The error reported in output panel should have nothing to do with this issue. Are you using symbolic links for your folders? Could you provide the server logs?
The meta files are generated from https://github.com/love2d-community/love-api, please open an issue there. Refer to: https://github.com/love2d-community/love-api/blob/17bcdfc7beda6848a94aa42d6914d5c393b1752a/modules/graphics/Graphics.lua#L2695-L2741