From 79bf3dd3dbba2ed827a7dfa5ecb6cdd411ceadf5 Mon Sep 17 00:00:00 2001 From: Ben Lubas Date: Tue, 16 Jul 2024 18:09:19 -0400 Subject: [PATCH] fix(metagen): _, line in ipairs --- lua/neorg/modules/core/esupports/metagen/module.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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