-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
Migrating from sumnekos LuaLS, I noticed a change in the way class documentation strings are handled.
For my meta libraries, I used to write code in a similar pattern like this:
--- This is the MyModule documentation.
--- It should appear when hovering over MyModule.
--- @class MyModule
MyModule = {}
--- This is the SubModule documentation.
--- It should appear when hovering over SubModule.
--- @class MyModule.SubModule
MyModule.SubModule = {}
--- Creates a new SubModule instance
--- @return MyModule.SubModule
function MyModule.SubModule.create()
end
return MyModuleUsing the Emmy LS, I now noticed that my documentation strings are not shown to the user when hovering over class usages.
To better showcase my issue, here is how the Emmy LS displays the hover message vs Sumnekos LuaLS:
Is there a way for me to adapt the format of my meta libraries to achieve a similar outcome to what I am used to?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

