Skip to content

Commit

Permalink
Merge pull request #2524 from AndreasMatthias/desc/rawdesc
Browse files Browse the repository at this point in the history
Added 'desc' and 'rawdesc' keys for variables in JSON output.
  • Loading branch information
sumneko authored Feb 19, 2024
2 parents a89b343 + d52ffe3 commit cd1b68a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/cli/doc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ local function collectVars(global, results)
}
result.desc = result.desc or getDesc(set)
result.rawdesc = result.rawdesc or getDesc(set, true)
result.defines[#result.defines].extends['desc'] = getDesc(set)
result.defines[#result.defines].extends['rawdesc'] = getDesc(set, true)
end
end
if #result.defines == 0 then
Expand Down

0 comments on commit cd1b68a

Please sign in to comment.