-
-
Notifications
You must be signed in to change notification settings - Fork 391
Open
Description
How are you using the lua-language-server?
NeoVim
Which OS are you using?
MacOS
What is the issue affecting?
Annotations
Expected Behaviour
correct document symbol kinds as per https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#symbolKind
such as
- function parameter (
function(opts) end)opts:Variable if: no symbol kind
Actual Behaviour
seemingly wrong symbol kinds
such as
opts:Constantif:Package
Reproduction steps
- create
example.luafile
local function config(opts)
if opts then
print('hello world')
end
end- inspect LSP document symbols (I used
:Telescope lsp_document_symbols) - notice wrong types for
optsandif
Additional Notes
No response
Log File
No response
Metadata
Metadata
Assignees
Labels
No labels