diff options
Diffstat (limited to 'script-beta')
-rw-r--r-- | script-beta/core/hover/description.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script-beta/core/hover/description.lua b/script-beta/core/hover/description.lua index 31d5bf58..3f39d959 100644 --- a/script-beta/core/hover/description.lua +++ b/script-beta/core/hover/description.lua @@ -207,8 +207,8 @@ local function buildEnumChunk(docType, name) local lines = {} lines[#lines+1] = ('%s: %s'):format(name, table.concat(types)) for _, enum in ipairs(enums) do - lines[#lines+1] = (' |%s%s%s'):format( - enum.default and '>' or ' ', + lines[#lines+1] = (' %s %s%s'):format( + enum.default and '->' or ' |', enum[1], enum.comment and (' -- %s'):format(enum.comment) or '' ) |