Skip to content

Git diff page will also be diagnosed and will get wrong result #2267

@mercury233

Description

@mercury233

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Windows

What is the issue affecting?

Diagnostics/Syntax Checking

Expected Behaviour

Don't do diagnostic when opening Git diff page.

Actual Behaviour

image

Reproduction steps

Just click the file in Git changes list

Additional Notes

No response

Log File

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions