-
-
Notifications
You must be signed in to change notification settings - Fork 400
Open
Description
How are you using the lua-language-server?
Command Line
Which OS are you using?
Linux
What is the issue affecting?
Annotations
Expected Behaviour
When exporting docs with lua-language-server --doc, function-level tags like @nodiscard should be included in the generated doc.json.
Actual Behaviour
Function-level tags like @nodiscard are missing from the generated doc.json.
Reproduction steps
-
Create a Lua file, e.g.,
Set.lua, with a function using@nodiscard:---@class Set local Set = {} ---Return true if the set has no elements ---@return boolean ---@nodiscard function Set:isempty() end
-
Run
lua-language-server --doc Set.luain the project directory. -
Open the generated
doc.json. -
Observe that the
@nodiscardtag is not included.
Additional Notes
Log File
No response
Metadata
Metadata
Assignees
Labels
No labels