diff --git a/lua/neorg/modules/core/esupports/metagen/module.lua b/lua/neorg/modules/core/esupports/metagen/module.lua index ab2f9fd2c..5466a78a1 100644 --- a/lua/neorg/modules/core/esupports/metagen/module.lua +++ b/lua/neorg/modules/core/esupports/metagen/module.lua @@ -273,7 +273,7 @@ module.public = { .. data[1] .. delimiter .. tostring(type(data[2]) == "function" and data[2]() or data[2]) - for line in ipairs(vim.split(lines, "\n")) do + for _, line in ipairs(vim.split(lines, "\n")) do table.insert(result, line) end end