### How are you using the lua-language-server? Visual Studio Code Extension (sumneko.lua) ### Which OS are you using? Linux ### What is the issue affecting? Libraries ### Expected Behaviour Following https://github.com/LuaLS/lua-language-server/discussions/3219 I've figured out that `Go to definition` does not act properly even if variable is set as local explicitly, see the video for details ### Actual Behaviour https://github.com/user-attachments/assets/cd98b077-bd11-461b-aa2c-78b375087dbf ### Reproduction steps I've created a repo with the code used in a video so you can clone and test it yourself https://github.com/Real-Gecko/lua-ls-test ### Additional Notes _No response_ ### Log File _No response_
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Linux
What is the issue affecting?
Libraries
Expected Behaviour
Following #3219 I've figured out that
Go to definitiondoes not act properly even if variable is set as local explicitly, see the video for detailsActual Behaviour
Screencast_20250704_143252.mp4
Reproduction steps
I've created a repo with the code used in a video so you can clone and test it yourself https://github.com/Real-Gecko/lua-ls-test
Additional Notes
No response
Log File
No response