From b695fa6eff5d892d4d793326c8b313941c6a7af1 Mon Sep 17 00:00:00 2001 From: Elias Bourgess Date: Tue, 15 Oct 2024 18:33:37 +0200 Subject: [PATCH] Fix: `cfg` to `Cfg` (closes #346) --- lua/telekasten.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/telekasten.lua b/lua/telekasten.lua index 5684006..6a0b771 100644 --- a/lua/telekasten.lua +++ b/lua/telekasten.lua @@ -182,7 +182,7 @@ local function generate_note_filename(uuid, title) title = title:gsub(" ", M.Cfg.filename_space_subst) end - if M.cfg.filename_small_case then + if M.Cfg.filename_small_case then title = string.lower(title) end