From db59035f0549a06c7bda227d1ee1e39239fa69e4 Mon Sep 17 00:00:00 2001 From: Vhyrro Date: Thu, 22 Feb 2024 15:20:47 +0100 Subject: [PATCH] chore: make luacheck happy --- lua/neorg/modules/core/concealer/module.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lua/neorg/modules/core/concealer/module.lua b/lua/neorg/modules/core/concealer/module.lua index 772b13c34..8f6521f80 100644 --- a/lua/neorg/modules/core/concealer/module.lua +++ b/lua/neorg/modules/core/concealer/module.lua @@ -434,9 +434,8 @@ local function format_ordered_icon(pattern, index) end end - gen = gen or function(index_) - return - end + gen = gen or function(_) end + memoized_ordered_icon_generator[pattern] = gen return gen(index) end