-
-
Notifications
You must be signed in to change notification settings - Fork 374
Open
Description
How are you using the lua-language-server?
Command Line
Which OS are you using?
MacOS
What is the issue affecting?
Other
Expected Behaviour
In the documatation JSON output, most parsed declarations have a "file"
property in the objects in the "defines"
array. @alias
declarations (with "type": "doc.alias"
) should have this as well.
Actual Behaviour
@alias
declarations (with "type": "doc.alias"
) have no "file"
property.
Reproduction steps
Write this Lua file:
---@alias foo
---| "a"
---| "b"
Then run:
lua-language-server --doc=. --doc_out_path=.
Check the doc.json
file. The element with "name": "foo"
should have a "file"
property in its first "defines"
object, but does not.
Metadata
Metadata
Assignees
Labels
No labels