Skip to content

Go to definition does not go to definition #3222

Open
@Real-Gecko

Description

@Real-Gecko

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 definition does not act properly even if variable is set as local explicitly, see the video for details

Actual 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions