Skip to content

Commit

Permalink
chore(docgen): make summaries lowercase for better viewing
Browse files Browse the repository at this point in the history
  • Loading branch information
vhyrro committed Jul 16, 2024
1 parent 9648e20 commit bdccdcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docgen/docgen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ docgen.generators = {

local mnemonic = docgen.extract_mnemonic(comments)

local summary = comments[1]
local summary = comments[1]:sub(1, 1):lower() .. comments[1]:sub(2)
local description = vim.list_slice(comments, 2)
local err = docgen.check_comment_integrity(summary)

Expand Down

0 comments on commit bdccdcb

Please sign in to comment.