From bdccdcb020138a153db169c00aeec1d91fa86812 Mon Sep 17 00:00:00 2001 From: vhyrro Date: Tue, 16 Jul 2024 09:53:17 +0200 Subject: [PATCH] chore(docgen): make summaries lowercase for better viewing --- docgen/docgen.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docgen/docgen.lua b/docgen/docgen.lua index a70491523..551beaea6 100644 --- a/docgen/docgen.lua +++ b/docgen/docgen.lua @@ -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)