Skip to content

Commit 0306887

Browse files
authored
fix(metagen): proper iteration on metadata fields (#1518)
1 parent 97e13b7 commit 0306887

File tree

1 file changed

+1
-1
lines changed
  • lua/neorg/modules/core/esupports/metagen

1 file changed

+1
-1
lines changed

lua/neorg/modules/core/esupports/metagen/module.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ module.public = {
273273
.. data[1]
274274
.. delimiter
275275
.. tostring(type(data[2]) == "function" and data[2]() or data[2])
276-
for line in ipairs(vim.split(lines, "\n")) do
276+
for _, line in ipairs(vim.split(lines, "\n")) do
277277
table.insert(result, line)
278278
end
279279
end

0 commit comments

Comments
 (0)