lua-language-server icon indicating copy to clipboard operation
lua-language-server copied to clipboard

self keyword not correctly specified / highlighted

Open BigfootN opened this issue 8 months ago • 6 comments

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

BigfootN avatar Feb 24 '25 21:02 BigfootN