Skip to content

Commit

Permalink
fix(docgen): don't double-render numeric values
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Feb 3, 2023
1 parent 64dc28d commit 35df191
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docgen/docgen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,9 @@ docgen.htmlify = function(configuration_option)
end,
-- TODO: render functions
["function"] = {},
number = function()
code_block = false
end,
_ = function()
table.insert(result, ts.get_node_text(self.data.value, self.buffer))
end,
Expand Down

0 comments on commit 35df191

Please sign in to comment.