You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first instance of the function on the file is highlighted correctly and all the other instances under it are highlighted with the wrong color.
Reproduction steps
Setup lua-language-server using require'lspconf'.lua_ls.setup{} and load a lua file with multiple instances of a function. Only the first instance is highlighted correctly.
Additional Notes
I am using the mason, mason-lspconfig, and nvim-lspconfig setup. Neovim 0.9 and lua-language-server 3.6.18.
Log File
No response
The text was updated successfully, but these errors were encountered:
I can not find the position you are talking about.
Sorry for not being more specific. On the left, lines 22-42 are where I am setting up lua-language-server. When I comment them out, as in the first image, lines 1-8 on the right have the same highlighting for the require function. When I un-comment lines 22-42 on the left, line 1 on the right has the correct highlighting (orange) for the require function, but lines 2-8 have a different highlighting (green).
How are you using the lua-language-server?
NeoVim
Which OS are you using?
MacOS
What is the issue affecting?
Other
Expected Behaviour
Consistent highlighting of functions.
Actual Behaviour
The first instance of the function on the file is highlighted correctly and all the other instances under it are highlighted with the wrong color.
Reproduction steps
Setup lua-language-server using
require'lspconf'.lua_ls.setup{}
and load a lua file with multiple instances of a function. Only the first instance is highlighted correctly.Additional Notes
I am using the mason, mason-lspconfig, and nvim-lspconfig setup. Neovim 0.9 and lua-language-server 3.6.18.
Log File
No response
The text was updated successfully, but these errors were encountered: