From f70b230e717b278e2205de579a00754e972ba3b7 Mon Sep 17 00:00:00 2001 From: HumanEntity Date: Sun, 24 Dec 2023 23:19:07 +0100 Subject: Maybe fixed error with tagging --- lua/denote/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/denote/util.lua') diff --git a/lua/denote/util.lua b/lua/denote/util.lua index 657da9d..7cffd23 100644 --- a/lua/denote/util.lua +++ b/lua/denote/util.lua @@ -19,7 +19,7 @@ function M.file(name, tags) if tags then for i, tag in pairs(tags) do tags_str = tags_str .. tag - if i == #tags - 1 then + if i < #tags - 1 then tags_str = tags_str .. M.config.filename.tag_sep end end -- cgit v1.2.3