lemmy-help
lemmy-help copied to clipboard
Support `---@enum`
This is very useful in the actual code as we don't have to create separate ---@alias
for describing enums but the problem is that we have to parse tables to get all the enum variants
Reference
- https://github.com/sumneko/lua-language-server/wiki/Annotations#enum
- https://github.com/sumneko/lua-language-server/issues/1255#issuecomment-1170870858