From 8b6155bba93c01a3068b1b9a1603d677b5eb7cad Mon Sep 17 00:00:00 2001 From: HumanEntity Date: Mon, 25 Dec 2023 13:11:17 +0100 Subject: Fixed error with internal functions --- lua/denote/internal.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lua/denote/internal.lua') diff --git a/lua/denote/internal.lua b/lua/denote/internal.lua index d2c6ebe..9db0596 100644 --- a/lua/denote/internal.lua +++ b/lua/denote/internal.lua @@ -25,9 +25,9 @@ function M.file(name, tags) end end - file = date .. config.filename.date_sep .. M.config.filename.date_sep .. name + file = date .. config.filename.date_sep .. config.filename.date_sep .. name if tags then - file = file .. config.filename.name_sep .. M.config.filename.name_sep .. tags_str + file = file .. config.filename.name_sep .. config.filename.name_sep .. tags_str end return file .. "." .. config.filename.ext @@ -69,9 +69,9 @@ function M.search(date, name, func) matcher = "%d%d" end - matcher = matcher .. config.filename.date_sep .. M.config.filename.date_sep + matcher = matcher .. config.filename.date_sep .. config.filename.date_sep else - matcher = "%d+" .. config.filename.date_sep .. M.config.filename.date_sep + matcher = "%d+" .. config.filename.date_sep .. config.filename.date_sep end if name then -- cgit v1.2.3