-
-
Notifications
You must be signed in to change notification settings - Fork 383
Closed
Labels
enhancementNew feature or requestNew feature or requestfeat/LuaCats AnnotationsRelated to Lua Language Server Annotations (LuaCats)Related to Lua Language Server Annotations (LuaCats)
Milestone
Description
Given an alias
---@alias lootType integer
---| 1 # Leader
---| 2 # Leader & GroupLeader
---| 3 # Leader & Specified
it currently reports only the values. I'm currently working around this by using integer
in the definition. The term 'integer' "pollutes" the documentation. The comments aren't displayed at all.
Without the use of integer
, the annotation gives a warning.
In conjunction with an issue I just opened (#1229), an enhancement to accept numeric values and include comments with the annotations presented can address this.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfeat/LuaCats AnnotationsRelated to Lua Language Server Annotations (LuaCats)Related to Lua Language Server Annotations (LuaCats)