镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

semantic coloring for locals/globals is broken #3422

Open

Description

@Arxareon

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?

Formatting

Expected Behaviour

Locals and Globals used to have different coloring but since the latest VSCode update, they are colored the same, semantic highlighting on or off, same result.

Actual Behaviour

Locals and Globals used to have different coloring but since the latest VSCode update, they are colored the same, semantic highlighting on or off, same result. Not sure if VSCode broke this or the extension.
I inspected the tokens and the loval is variable.other the global is variable.global. They used to be different (using the default VSCode Dark 2026 theme), now they are colored the same.

Reproduction steps

create a local and a global, look at it.

Additional Notes

No response

Log File

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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