mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-13 19:04:36 +02:00
ci: autogen recipes
This commit is contained in:
parent
7336478d09
commit
ddd1fceb76
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ function M.recipes()
|
||||||
local header = {} ---@type string[]
|
local header = {} ---@type string[]
|
||||||
local block = {} ---@type string[]
|
local block = {} ---@type string[]
|
||||||
for _, line in ipairs(lines) do
|
for _, line in ipairs(lines) do
|
||||||
local comment = line:match("^ %-%- (.*)")
|
local comment = line:match("^ %-%- ?(.*)")
|
||||||
if comment then
|
if comment then
|
||||||
header[#header + 1] = comment
|
header[#header + 1] = comment
|
||||||
elseif line:find("^ {") then
|
elseif line:find("^ {") then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue