Skip to content

self keyword not correctly specified / highlighted #3093

@BigfootN

Description

@BigfootN

How are you using the lua-language-server?

NeoVim

Which OS are you using?

Linux

What is the issue affecting?

Other

Expected Behaviour

The self word should be highlighted as a keyword and not a variable.

Actual Behaviour

The self keyword seems to be recognized as a variable and not a keyword. The self keyword is not correctly highlighted. It seems highlighted as a variable and not as a keyword.

Reproduction steps

Use neovim with lua_ls and open a lua file and a theme with the self keyword. The self keyword is not correctly highlighted.

Additional Notes

I first noticed the problem in neovim with the everforest theme. I even opened an issue. More context can be found in the author's detailed answer.

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